diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2014-05-01 16:52:46 +0200 |
---|---|---|
committer | Oleg Nesterov <oleg@redhat.com> | 2014-05-14 13:57:25 +0200 |
commit | 50204c6f6dd01b5bce1b53e0b003d01849455512 (patch) | |
tree | 2ed16e91199c0d7fac54f06bb843300615915030 /arch/x86/include | |
parent | 29dedee0e693aa113164c820395ce51446a71ace (diff) | |
download | op-kernel-dev-50204c6f6dd01b5bce1b53e0b003d01849455512.zip op-kernel-dev-50204c6f6dd01b5bce1b53e0b003d01849455512.tar.gz |
uprobes/x86: Simplify rip-relative handling
It is possible to replace rip-relative addressing mode with addressing
mode of the same length: (reg+disp32). This eliminates the need to fix
up immediate and correct for changing instruction length.
And we can kill arch_uprobe->def.riprel_target.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Reviewed-by: Jim Keniston <jkenisto@us.ibm.com>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/uprobes.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/include/asm/uprobes.h b/arch/x86/include/asm/uprobes.h index a040d49..7be3c07 100644 --- a/arch/x86/include/asm/uprobes.h +++ b/arch/x86/include/asm/uprobes.h @@ -50,9 +50,6 @@ struct arch_uprobe { u8 opc1; } branch; struct { -#ifdef CONFIG_X86_64 - long riprel_target; -#endif u8 fixups; u8 ilen; } def; |