aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sys.c
diff options
context:
space:
mode:
authorDave Kleikamp <shaggy@austin.ibm.com>2005-08-04 16:56:15 -0400
committerDave Kleikamp <shaggy@austin.ibm.com>2005-08-04 16:56:15 -0400
commita5c96cab8f3c4ca9b2177dceb5de5a0edb31418e (patch)
tree45692a1b3d770f721f4586ad81c206f1b8509b75 /kernel/sys.c
parent30db1ae8640d3527ca7ac8df4bcbf14ccc6ae9cd (diff)
parent1c5ad84516ae7ea4ec868436a910a6bd8d20215a (diff)
Merge with /home/shaggy/git/linus-clean/
Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
Diffstat (limited to 'kernel/sys.c')
-rw-r--r--kernel/sys.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/sys.c b/kernel/sys.c
index 8f255259ef9e..0bcaed6560ac 100644
--- a/kernel/sys.c
+++ b/kernel/sys.c
@@ -392,7 +392,6 @@ void kernel_kexec(void)
392 } 392 }
393 notifier_call_chain(&reboot_notifier_list, SYS_RESTART, NULL); 393 notifier_call_chain(&reboot_notifier_list, SYS_RESTART, NULL);
394 system_state = SYSTEM_RESTART; 394 system_state = SYSTEM_RESTART;
395 device_suspend(PMSG_FREEZE);
396 device_shutdown(); 395 device_shutdown();
397 printk(KERN_EMERG "Starting new kernel\n"); 396 printk(KERN_EMERG "Starting new kernel\n");
398 machine_shutdown(); 397 machine_shutdown();
@@ -405,7 +404,6 @@ void kernel_halt(void)
405{ 404{
406 notifier_call_chain(&reboot_notifier_list, SYS_HALT, NULL); 405 notifier_call_chain(&reboot_notifier_list, SYS_HALT, NULL);
407 system_state = SYSTEM_HALT; 406 system_state = SYSTEM_HALT;
408 device_suspend(PMSG_SUSPEND);
409 device_shutdown(); 407 device_shutdown();
410 printk(KERN_EMERG "System halted.\n"); 408 printk(KERN_EMERG "System halted.\n");
411 machine_halt(); 409 machine_halt();
@@ -416,7 +414,6 @@ void kernel_power_off(void)
416{ 414{
417 notifier_call_chain(&reboot_notifier_list, SYS_POWER_OFF, NULL); 415 notifier_call_chain(&reboot_notifier_list, SYS_POWER_OFF, NULL);
418 system_state = SYSTEM_POWER_OFF; 416 system_state = SYSTEM_POWER_OFF;
419 device_suspend(PMSG_SUSPEND);
420 device_shutdown(); 417 device_shutdown();
421 printk(KERN_EMERG "Power down.\n"); 418 printk(KERN_EMERG "Power down.\n");
422 machine_power_off(); 419 machine_power_off();