]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sh/mm/fault_32.c
sh: Kill off duplicate page fault notifiers in slow path.
[linux-2.6-omap-h63xx.git] / arch / sh / mm / fault_32.c
index ef01f45daa8a89fcf85aaccbf6312d545d12a361..08a08ea5d69fe071dd9262fb09d2395af7233410 100644 (file)
@@ -53,13 +53,10 @@ asmlinkage void __kprobes do_page_fault(struct pt_regs *regs,
        int fault;
        siginfo_t info;
 
-       if (notify_page_fault(regs, lookup_exception_vector()))
-               return;
-
-#ifdef CONFIG_SH_KGDB
-       if (kgdb_nofault && kgdb_bus_err_hook)
-               kgdb_bus_err_hook();
-#endif
+       /*
+        * We don't bother with any notifier callbacks here, as they are
+        * all handled through the __do_page_fault() fast-path.
+        */
 
        tsk = current;
        si_code = SEGV_MAPERR;