]> err.no Git - linux-2.6/commit
x86: kprobes remove fix_riprel #ifdef
authorHarvey Harrison <harvey.harrison@gmail.com>
Wed, 30 Jan 2008 12:32:16 +0000 (13:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:32:16 +0000 (13:32 +0100)
commit31f80e45ea26008939790b4363a4fdcff240e0d6
tree672186c369053d06157f19b71292dc8de099543f
parent9930927f36ac3e39ffa674dc23ef06f13c39cef7
x86: kprobes remove fix_riprel #ifdef

Move #ifdef around function definiton into the function and
unconditionally return on X86_32.  Saves an ifdef from the
one callsite.

[ mingo@elte.hu: minor cleanup. ]

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/kprobes.c