]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - kernel/power/poweroff.c
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
[net-next-2.6.git] / kernel / power / poweroff.c
index 7a4144ba3afd41a070ab340cab472dfe50f19978..f1f900ac31640c2072778e9a4ece504fe8200d68 100644 (file)
@@ -23,8 +23,7 @@ static void do_poweroff(void *dummy)
 
 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 tty_struct *tty)
 {
        schedule_work(&poweroff_work);
 }