From: Oleg Nesterov Date: Thu, 24 Apr 2014 16:52:37 +0000 (+0200) Subject: uprobes/x86: Cleanup the usage of arch_uprobe->def.fixups, make it u8 X-Git-Tag: omap-for-v3.16/fixes-against-rc1~34^2~14^2~1^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78d9af4cd375880a574327210eb9dab572618364;p=pandora-kernel.git uprobes/x86: Cleanup the usage of arch_uprobe->def.fixups, make it u8 handle_riprel_insn() assumes that nobody else could modify ->fixups before. This is correct but fragile, change it to use "|=". Also make ->fixups u8, we are going to add the new members into the union. It is not clear why UPROBE_FIX_RIP_.X lived in the upper byte, redefine them so that they can fit into u8. Signed-off-by: Oleg Nesterov --- Reading git-diff-tree failed