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 2.0 rc7
[linux-2.6.git]
/
kernel
/
power
/
poweroff.c
diff --git
a/kernel/power/poweroff.c
b/kernel/power/poweroff.c
index
73cabf6
..
715081b
100644
(file)
--- a/
kernel/power/poweroff.c
+++ b/
kernel/power/poweroff.c
@@
-32,7
+32,8
@@
static void handle_poweroff(int key, struct pt_regs *pt_regs,
static struct sysrq_key_op sysrq_poweroff_op = {
.handler = handle_poweroff,
.help_msg = "powerOff",
- .action_msg = "Power Off"
+ .action_msg = "Power Off",
+ .enable_mask = SYSRQ_ENABLE_BOOT,
};
static int pm_sysrq_init(void)