]> err.no Git - linux-2.6/blobdiff - arch/powerpc/kernel/traps.c
[PATCH] cell: enable pause(0) in cpu_idle
[linux-2.6] / arch / powerpc / kernel / traps.c
index 6c793463d5119baca4ca21e8f2bc97f40183a059..7509aa6474f2e7c03deb7fa896b658fd31f6247f 100644 (file)
@@ -230,8 +230,10 @@ void _exception(int signr, struct pt_regs *regs, int code, unsigned long addr)
 void system_reset_exception(struct pt_regs *regs)
 {
        /* See if any machine dependent calls */
-       if (ppc_md.system_reset_exception)
-               ppc_md.system_reset_exception(regs);
+       if (ppc_md.system_reset_exception) {
+               if (ppc_md.system_reset_exception(regs))
+                       return;
+       }
 
        die("System Reset", regs, SIGABRT);