]> err.no Git - linux-2.6/commitdiff
[MIPS] JMR3927: Fixup another victim of the irq pt_regs cleanup.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 30 Oct 2006 15:32:27 +0000 (15:32 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 30 Oct 2006 21:41:31 +0000 (21:41 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/jmr3927/rbhma3100/irq.c

index 39a0243bed9ac10e13b0fea7dfe25c83f29fca74..de4a238c28bec5eb0c67bde8d937e0dddb0d5b96 100644 (file)
@@ -288,6 +288,8 @@ static void tx_branch_likely_bug_fixup(void)
 
 static void jmr3927_spurious(void)
 {
+       struct pt_regs * regs = get_irq_regs();
+
 #ifdef CONFIG_TX_BRANCH_LIKELY_BUG_WORKAROUND
        tx_branch_likely_bug_fixup();
 #endif
@@ -297,6 +299,7 @@ static void jmr3927_spurious(void)
 
 asmlinkage void plat_irq_dispatch(void)
 {
+       struct pt_regs * regs = get_irq_regs();
        int irq;
 
 #ifdef CONFIG_TX_BRANCH_LIKELY_BUG_WORKAROUND