vserver 2.0 rc7
[linux-2.6.git] / kernel / power / poweroff.c
index 73cabf6..715081b 100644 (file)
@@ -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)