Loading arch/powerpc/xmon/xmon.c +3 −3 Original line number Original line Diff line number Diff line Loading @@ -36,6 +36,7 @@ #include <asm/rtas.h> #include <asm/rtas.h> #include <asm/sstep.h> #include <asm/sstep.h> #include <asm/bug.h> #include <asm/bug.h> #include <asm/irq_regs.h> #ifdef CONFIG_PPC64 #ifdef CONFIG_PPC64 #include <asm/hvcall.h> #include <asm/hvcall.h> Loading Loading @@ -521,13 +522,12 @@ int xmon(struct pt_regs *excp) } } EXPORT_SYMBOL(xmon); EXPORT_SYMBOL(xmon); irqreturn_t irqreturn_t xmon_irq(int irq, void *d) xmon_irq(int irq, void *d, struct pt_regs *regs) { { unsigned long flags; unsigned long flags; local_irq_save(flags); local_irq_save(flags); printf("Keyboard interrupt\n"); printf("Keyboard interrupt\n"); xmon(regs); xmon(get_irq_regs()); local_irq_restore(flags); local_irq_restore(flags); return IRQ_HANDLED; return IRQ_HANDLED; } } Loading Loading
arch/powerpc/xmon/xmon.c +3 −3 Original line number Original line Diff line number Diff line Loading @@ -36,6 +36,7 @@ #include <asm/rtas.h> #include <asm/rtas.h> #include <asm/sstep.h> #include <asm/sstep.h> #include <asm/bug.h> #include <asm/bug.h> #include <asm/irq_regs.h> #ifdef CONFIG_PPC64 #ifdef CONFIG_PPC64 #include <asm/hvcall.h> #include <asm/hvcall.h> Loading Loading @@ -521,13 +522,12 @@ int xmon(struct pt_regs *excp) } } EXPORT_SYMBOL(xmon); EXPORT_SYMBOL(xmon); irqreturn_t irqreturn_t xmon_irq(int irq, void *d) xmon_irq(int irq, void *d, struct pt_regs *regs) { { unsigned long flags; unsigned long flags; local_irq_save(flags); local_irq_save(flags); printf("Keyboard interrupt\n"); printf("Keyboard interrupt\n"); xmon(regs); xmon(get_irq_regs()); local_irq_restore(flags); local_irq_restore(flags); return IRQ_HANDLED; return IRQ_HANDLED; } } Loading