diff options
author | 2016-10-17 13:38:14 +0100 | |
---|---|---|
committer | 2016-10-17 19:38:30 +0100 | |
commit | 91cb163e4d141c74e99639fbee7c2a6332c92901 (patch) | |
tree | b4f85befdc215470c060563371eba88fae33463e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | arm64: kaslr: keep modules close to the kernel when DYNAMIC_FTRACE=y (diff) | |
download | linux-dev-91cb163e4d141c74e99639fbee7c2a6332c92901.tar.xz linux-dev-91cb163e4d141c74e99639fbee7c2a6332c92901.zip |
arm64: sysreg: Fix use of XZR in write_sysreg_s
Commit 8a71f0c656e0 ("arm64: sysreg: replace open-coded mrs_s/msr_s with
{read,write}_sysreg_s") introduced a write_sysreg_s macro for writing
to system registers that are not supported by binutils.
Unfortunately, this was implemented with the wrong template (%0 vs %x0),
so in the case that we are writing a constant 0, we will generate
invalid instruction syntax and bail with a cryptic assembler error:
| Error: constant expression required
This patch fixes the template.
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions