From: Denys Vlasenko Date: Thu, 1 May 2014 14:52:46 +0000 (+0200) Subject: uprobes/x86: Simplify rip-relative handling X-Git-Tag: omap-for-v3.16/fixes-against-rc1~34^2~14^2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50204c6f6dd01b5bce1b53e0b003d01849455512;p=pandora-kernel.git 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 Reviewed-by: Jim Keniston Signed-off-by: Oleg Nesterov --- Reading git-diff-tree failed