Selaa lähdekoodia

[MIPS] JMR3927: Fixup another victim of the irq pt_regs cleanup.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 18 vuotta sitten
vanhempi
commit
e523318457
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      arch/mips/jmr3927/rbhma3100/irq.c

+ 3 - 0
arch/mips/jmr3927/rbhma3100/irq.c

@@ -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