summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/perf_regs.c
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2016-10-18 13:46:27 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2016-11-07 18:15:03 +0000
commit4890ae46911c99d61fb622605c2d81bf8c86b209 (patch)
tree5d62056f1f1f9cea14cc0c658786917ae647e2ba /arch/arm64/kernel/perf_regs.c
parentbe8f185d8af4dbd450023a42a48c6faa8cbcdfe6 (diff)
downloadlwn-4890ae46911c99d61fb622605c2d81bf8c86b209.tar.gz
lwn-4890ae46911c99d61fb622605c2d81bf8c86b209.zip
arm64/kprobes: Tidy up sign-extension usage
Kprobes does not need its own homebrewed (and frankly inscrutable) sign extension macro; just use the standard kernel functions instead. Since the compiler actually recognises the sign-extension idiom of the latter, we also get the small bonus of some nicer codegen, as each displacement calculation helper then compiles to a single optimal SBFX instruction. Signed-off-by: Robin Murphy <robin.murphy@arm.com> Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel/perf_regs.c')
0 files changed, 0 insertions, 0 deletions