git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
kernel
/
power
/
poweroff.c
diff --git
a/kernel/power/poweroff.c
b/kernel/power/poweroff.c
index
d921459
..
875d8f1
100644
(file)
--- a/
kernel/power/poweroff.c
+++ b/
kernel/power/poweroff.c
@@
-21,7
+21,7
@@
static void do_poweroff(void *dummy)
pm_power_off();
}
pm_power_off();
}
-static DECLARE_WORK(poweroff_work, do_poweroff,
0
);
+static DECLARE_WORK(poweroff_work, do_poweroff,
NULL
);
static void handle_poweroff(int key, struct pt_regs *pt_regs,
struct tty_struct *tty)
static void handle_poweroff(int key, struct pt_regs *pt_regs,
struct tty_struct *tty)