aboutsummaryrefslogtreecommitdiff
path: root/kernel/gcov
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2013-09-11 14:24:14 -0700
committerLinus Torvalds <[email protected]>2013-09-11 15:58:52 -0700
commit63c40436a1afc837f3ace6b5a39c547bc91c20bc (patch)
tree0e32113be82ec272d56c1278e1ca87cbf6ac88ba /kernel/gcov
parentaf96397de8600232effbff43dc8b4ca20ddc02b1 (diff)
s390/kprobes: add support for pc-relative long displacement instructions
With the general-instruction extension facility (z10) a couple of instructions with a pc-relative long displacement were introduced. The kprobes support for these instructions however was never implemented. In result, if anybody ever put a probe on any of these instructions the result would have been random behaviour after the instruction got executed within the insn slot. So lets add the missing handling for these instructions. Since all of the new instructions have 32 bit signed displacement the easiest solution is to allocate an insn slot that is within the same 2GB area like the original instruction and patch the displacement field. Signed-off-by: Heiko Carstens <[email protected]> Reviewed-by: Masami Hiramatsu <[email protected]> Cc: Ananth N Mavinakayanahalli <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Martin Schwidefsky <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'kernel/gcov')
0 files changed, 0 insertions, 0 deletions