panic.c (c39ea0b9dd24bf1bf2baa5cdbfa1905f3065347b) | panic.c (b287a25a7148a89d977c819c1f7d6584f875b682) |
---|---|
1/* 2 * linux/kernel/panic.c 3 * 4 * Copyright (C) 1991, 1992 Linus Torvalds 5 */ 6 7/* 8 * This function is used through-out the kernel (including mm and fs) --- 292 unchanged lines hidden (view full) --- 301 } 302 } 303 if (panic_timeout != 0) { 304 /* 305 * This will not be a clean reboot, with everything 306 * shutting down. But if there is a chance of 307 * rebooting the system it will be rebooted. 308 */ | 1/* 2 * linux/kernel/panic.c 3 * 4 * Copyright (C) 1991, 1992 Linus Torvalds 5 */ 6 7/* 8 * This function is used through-out the kernel (including mm and fs) --- 292 unchanged lines hidden (view full) --- 301 } 302 } 303 if (panic_timeout != 0) { 304 /* 305 * This will not be a clean reboot, with everything 306 * shutting down. But if there is a chance of 307 * rebooting the system it will be rebooted. 308 */ |
309 if (panic_reboot_mode != REBOOT_UNDEFINED) 310 reboot_mode = panic_reboot_mode; |
|
309 emergency_restart(); 310 } 311#ifdef __sparc__ 312 { 313 extern int stop_a_enabled; 314 /* Make sure the user can actually press Stop-A (L1-A) */ 315 stop_a_enabled = 1; 316 pr_emerg("Press Stop-A (L1-A) from sun keyboard or send break\n" --- 381 unchanged lines hidden --- | 311 emergency_restart(); 312 } 313#ifdef __sparc__ 314 { 315 extern int stop_a_enabled; 316 /* Make sure the user can actually press Stop-A (L1-A) */ 317 stop_a_enabled = 1; 318 pr_emerg("Press Stop-A (L1-A) from sun keyboard or send break\n" --- 381 unchanged lines hidden --- |