linux/arch/arm64/kernel/probes
Robin Murphy 4890ae4691 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>
2016-11-07 18:15:03 +00:00
..
decode-insn.c arm64: Improve kprobes test for atomic sequence 2016-09-15 08:33:46 +01:00
decode-insn.h arm64: kprobes instruction simulation support 2016-07-19 15:03:21 +01:00
kprobes_trampoline.S arm64: Add trampoline code for kretprobes 2016-07-19 15:03:22 +01:00
kprobes.c arm64: migrate exception table users off module.h and onto extable.h 2016-09-20 09:36:21 +01:00
Makefile arm64: Add trampoline code for kretprobes 2016-07-19 15:03:22 +01:00
simulate-insn.c arm64/kprobes: Tidy up sign-extension usage 2016-11-07 18:15:03 +00:00
simulate-insn.h arm64: kprobes instruction simulation support 2016-07-19 15:03:21 +01:00