[IA64] kprobes: fixup the pagefault exception caused by probehandlers
authorKeshavamurthy Anil S <anil.s.keshavamurthy@intel.com>
Mon, 25 Sep 2006 23:32:20 +0000 (16:32 -0700)
committerTony Luck <tony.luck@intel.com>
Tue, 26 Sep 2006 18:33:32 +0000 (11:33 -0700)
commitfd32cb3a9c9f9399421408e8734cd8a6d9d1a09f
treed030d93f169bd9ff39019dacc8f5b3c5a828b079
parent214ddde2f95037e129eff7e895869771719c7c1b
[IA64] kprobes: fixup the pagefault exception caused by probehandlers

If the user-specified kprobe handler causes the page fault when accessing
user space address, fixup this fault since do_page_fault() should not
continue as the kprobe handler are run with preemption disabled.

Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/kprobes.c