Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 65226
b: refs/heads/master
c: 4047727
h: refs/heads/master
v: v3
  • Loading branch information
Mark Lord authored and Linus Torvalds committed Oct 1, 2007
1 parent 3845f2a commit de3d54e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 281e0e3b34acb76a157576d27abc85c09fcf78e3
refs/heads/master: 4047727e5ae33f9b8d2b7766d1994ea6e5ec2991
2 changes: 2 additions & 0 deletions trunk/kernel/sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include <linux/getcpu.h>
#include <linux/task_io_accounting_ops.h>
#include <linux/seccomp.h>
#include <linux/cpu.h>

#include <linux/compat.h>
#include <linux/syscalls.h>
Expand Down Expand Up @@ -878,6 +879,7 @@ void kernel_power_off(void)
kernel_shutdown_prepare(SYSTEM_POWER_OFF);
if (pm_power_off_prepare)
pm_power_off_prepare();
disable_nonboot_cpus();
sysdev_shutdown();
printk(KERN_EMERG "Power down.\n");
machine_power_off();
Expand Down

0 comments on commit de3d54e

Please sign in to comment.