[POWERPC] Fix xmon IRQ handler for pt_regs removal
authorPaul Mackerras <paulus@samba.org>
Tue, 10 Oct 2006 01:47:07 +0000 (11:47 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 10 Oct 2006 01:47:07 +0000 (11:47 +1000)
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/xmon/xmon.c

index 5a854f36383ce424f5a874216ba9f948b8ed4991..f56ffef4defa7f0b3724fea942afda436008d3a8 100644 (file)
@@ -36,6 +36,7 @@
 #include <asm/rtas.h>
 #include <asm/sstep.h>
 #include <asm/bug.h>
+#include <asm/irq_regs.h>
 
 #ifdef CONFIG_PPC64
 #include <asm/hvcall.h>
@@ -521,13 +522,12 @@ int xmon(struct pt_regs *excp)
 }
 EXPORT_SYMBOL(xmon);
 
-irqreturn_t
-xmon_irq(int irq, void *d, struct pt_regs *regs)
+irqreturn_t xmon_irq(int irq, void *d)
 {
        unsigned long flags;
        local_irq_save(flags);
        printf("Keyboard interrupt\n");
-       xmon(regs);
+       xmon(get_irq_regs());
        local_irq_restore(flags);
        return IRQ_HANDLED;
 }