1 From: Greg Kroah-Hartman <gregkh@suse.de>
2 Subject: Linux 2.6.27.16
4 Upstream 2.6.27.16 release from kernel.org
6 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8 Automatically created from "patches.kernel.org/patch-2.6.27.15-16" by xen-port-patches.py
10 --- sle11-2009-02-16.orig/arch/x86/mm/fault-xen.c 2009-02-16 16:49:32.000000000 +0100
11 +++ sle11-2009-02-16/arch/x86/mm/fault-xen.c 2009-02-16 17:02:46.000000000 +0100
12 @@ -627,8 +627,6 @@ void __kprobes do_page_fault(struct pt_r
14 si_code = SEGV_MAPERR;
16 - if (notify_page_fault(regs))
18 if (unlikely(kmmio_fault(regs, address)))
21 @@ -667,6 +665,9 @@ void __kprobes do_page_fault(struct pt_r
22 if (spurious_fault(address, error_code))
25 + /* kprobes don't want to hook the spurious faults. */
26 + if (notify_page_fault(regs))
29 * Don't take the mm semaphore here. If we fixup a prefetch
30 * fault we could otherwise deadlock.
31 @@ -674,6 +675,9 @@ void __kprobes do_page_fault(struct pt_r
32 goto bad_area_nosemaphore;
35 + /* kprobes don't want to hook the spurious faults. */
36 + if (notify_page_fault(regs))
40 /* It's safe to allow irq's after cr2 has been saved and the vmalloc