diff options
author | Ard Biesheuvel <[email protected]> | 2017-07-15 17:23:13 +0100 |
---|---|---|
committer | Mark Rutland <[email protected]> | 2017-08-15 18:35:47 +0100 |
commit | 8ea41b11ef746e1ac97f8c90911e5c61f8bd5cc0 (patch) | |
tree | 68ad3c4487ce3ae68ae2b4b6f32519ca60ccf19c /tools/perf/scripts/python/stackcollapse.py | |
parent | b11e5759bfac0c474d95ec4780b1566350e64cad (diff) |
arm64: assembler: allow adr_this_cpu to use the stack pointer
Given that adr_this_cpu already requires a temp register in addition
to the destination register, tweak the instruction sequence so that sp
may be used as well.
This will simplify switching to per-cpu stacks in subsequent patches. While
this limits the range of adr_this_cpu, to +/-4GiB, we don't currently use
adr_this_cpu in modules, and this is not problematic for the main kernel image.
Signed-off-by: Ard Biesheuvel <[email protected]>
[Mark: add more commit text]
Signed-off-by: Mark Rutland <[email protected]>
Reviewed-by: Will Deacon <[email protected]>
Tested-by: Laura Abbott <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: James Morse <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions