]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - kernel/panic.c
panic: panic=-1 for immediate reboot
[mv-sheeva.git] / kernel / panic.c
index 69231670eb952357809488fa58cffef5596e9c63..d7bb6974efb56b6070a6c9067bd87ba55a7273da 100644 (file)
@@ -119,6 +119,8 @@ NORET_TYPE void panic(const char * fmt, ...)
                        }
                        mdelay(PANIC_TIMER_STEP);
                }
+       }
+       if (panic_timeout != 0) {
                /*
                 * This will not be a clean reboot, with everything
                 * shutting down.  But if there is a chance of