diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-05-31 08:36:57 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-06-11 13:20:53 -0400 |
commit | ef36fc3c5b37111d41827d00536364667a923235 (patch) | |
tree | 59fec23e6f85622c222bdb7ec99523a329e4bcba /arch/mips/kernel/smtc.c | |
parent | 7a6d4f38744e6453ec3bd359f751c34923207735 (diff) |
[MIPS] SMTC: Fix warning.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/smtc.c')
-rw-r--r-- | arch/mips/kernel/smtc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/smtc.c b/arch/mips/kernel/smtc.c index b361edb83dc6..21eb5993a19f 100644 --- a/arch/mips/kernel/smtc.c +++ b/arch/mips/kernel/smtc.c | |||
@@ -611,12 +611,12 @@ void smtc_cpus_done(void) | |||
611 | int setup_irq_smtc(unsigned int irq, struct irqaction * new, | 611 | int setup_irq_smtc(unsigned int irq, struct irqaction * new, |
612 | unsigned long hwmask) | 612 | unsigned long hwmask) |
613 | { | 613 | { |
614 | #ifdef CONFIG_SMTC_IDLE_HOOK_DEBUG | ||
614 | unsigned int vpe = current_cpu_data.vpe_id; | 615 | unsigned int vpe = current_cpu_data.vpe_id; |
615 | 616 | ||
616 | irq_hwmask[irq] = hwmask; | ||
617 | #ifdef CONFIG_SMTC_IDLE_HOOK_DEBUG | ||
618 | vpemask[vpe][irq - MIPSCPU_INT_BASE] = 1; | 617 | vpemask[vpe][irq - MIPSCPU_INT_BASE] = 1; |
619 | #endif | 618 | #endif |
619 | irq_hwmask[irq] = hwmask; | ||
620 | 620 | ||
621 | return setup_irq(irq, new); | 621 | return setup_irq(irq, new); |
622 | } | 622 | } |