x86: add reenter_kprobe helper
commit40102d4a41312ad4134c0b802ad074445ce8b17b
authorHarvey Harrison <harvey.harrison@gmail.com>
Wed, 30 Jan 2008 12:32:02 +0000 (30 13:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:32:02 +0000 (30 13:32 +0100)
tree329da765c3a69759412c7991ae6b3a2a1384c8d9
parentddc66df876fd33d3956f3c3acc1ae334b16eedee
x86: add reenter_kprobe helper

[ mhiramat@redhat.com: updated it to latest x86.git ]

Factor common X86_32, X86_64 kprobe reenter logic from deeply
indented section to helper function.

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>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Jim Keniston <jkenisto@us.ibm.com>
arch/x86/kernel/kprobes.c