OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a6d4f3
)
[MIPS] SMTC: Fix warning.
author
Ralf Baechle
<ralf@linux-mips.org>
Thu, 31 May 2007 12:36:57 +0000
(13:36 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Mon, 11 Jun 2007 17:20:53 +0000
(18:20 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/smtc.c
patch
|
blob
|
history
diff --git
a/arch/mips/kernel/smtc.c
b/arch/mips/kernel/smtc.c
index
b361edb
..
21eb599
100644
(file)
--- a/
arch/mips/kernel/smtc.c
+++ b/
arch/mips/kernel/smtc.c
@@
-611,12
+611,12
@@
void smtc_cpus_done(void)
int setup_irq_smtc(unsigned int irq, struct irqaction * new,
unsigned long hwmask)
{
+#ifdef CONFIG_SMTC_IDLE_HOOK_DEBUG
unsigned int vpe = current_cpu_data.vpe_id;
- irq_hwmask[irq] = hwmask;
-#ifdef CONFIG_SMTC_IDLE_HOOK_DEBUG
vpemask[vpe][irq - MIPSCPU_INT_BASE] = 1;
#endif
+ irq_hwmask[irq] = hwmask;
return setup_irq(irq, new);
}