Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5048
b: refs/heads/master
c: ff31977
h: refs/heads/master
v: v3
  • Loading branch information
Eric W. Biederman authored and Linus Torvalds committed Jul 26, 2005
1 parent 2c692d2 commit 7bef995
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 62b3a04d75d2dc9480d5ad3b60f4258e548a6a83
refs/heads/master: ff31977782a05504f2586ec9e3e5ab4b09a4c893
4 changes: 2 additions & 2 deletions trunk/kernel/power/poweroff.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <linux/init.h>
#include <linux/pm.h>
#include <linux/workqueue.h>
#include <linux/reboot.h>

/*
* When the user hits Sys-Rq o to power down the machine this is the
Expand All @@ -17,8 +18,7 @@

static void do_poweroff(void *dummy)
{
if (pm_power_off)
pm_power_off();
kernel_power_off();
}

static DECLARE_WORK(poweroff_work, do_poweroff, NULL);
Expand Down

0 comments on commit 7bef995

Please sign in to comment.