From e165e28aeda1caf496110eaaa191f9c568164dd4 Mon Sep 17 00:00:00 2001 From: Atsushi Nemoto Date: Mon, 8 Jan 2007 00:50:34 +0900 Subject: [PATCH] --- yaml --- r: 45342 b: refs/heads/master c: f9bba75e378776ee4e97adc0555db16695d341e1 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/asm-mips/irq.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 8ca9e30e3645..d277fc3c1d11 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f860c90bd6ce22c6a0a352cc16acc74fba3d628e +refs/heads/master: f9bba75e378776ee4e97adc0555db16695d341e1 diff --git a/trunk/include/asm-mips/irq.h b/trunk/include/asm-mips/irq.h index 67657089efa7..386da82e5774 100644 --- a/trunk/include/asm-mips/irq.h +++ b/trunk/include/asm-mips/irq.h @@ -31,14 +31,14 @@ static inline int irq_canonicalize(int irq) * functions will take over re-enabling the low-level mask. * Otherwise it will be done on return from exception. */ -#define __DO_IRQ_SMTC_HOOK() \ +#define __DO_IRQ_SMTC_HOOK(irq) \ do { \ if (irq_hwmask[irq] & 0x0000ff00) \ write_c0_tccontext(read_c0_tccontext() & \ ~(irq_hwmask[irq] & 0x0000ff00)); \ } while (0) #else -#define __DO_IRQ_SMTC_HOOK() do { } while (0) +#define __DO_IRQ_SMTC_HOOK(irq) do { } while (0) #endif /* @@ -52,7 +52,7 @@ do { \ #define do_IRQ(irq) \ do { \ irq_enter(); \ - __DO_IRQ_SMTC_HOOK(); \ + __DO_IRQ_SMTC_HOOK(irq); \ generic_handle_irq(irq); \ irq_exit(); \ } while (0)