]> git.baikalelectronics.ru Git - kernel.git/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)
commit2500fc3ffa5cf0da8cba594d9f5c094ccd5b89d3
tree672186c369053d06157f19b71292dc8de099543f
parent6ecc6b372d5d1512f369dbedef32dfba53de3a5a
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