linux-mips
[Top] [All Lists]

[PATCH] Fix compile error when SMTC support is enabled

To: linux-mips@linux-mips.org
Subject: [PATCH] Fix compile error when SMTC support is enabled
From: Raghu Gandham <raghu@mips.com>
Date: Wed, 08 Jul 2009 17:00:44 -0700
Cc: tanderson@mvista.com, raghu@mips.com
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: StGIT/0.14.3
Commit fc03bc1715ca0ad4ccfe97aab16bcc9e7129c1a4 breaks when SMTC support is 
enabled on Malta.
This patch is a fix for that.

Signed-off-by: Raghu Gandham <raghu@mips.com>
---

 arch/mips/mti-malta/malta-int.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/mti-malta/malta-int.c b/arch/mips/mti-malta/malta-int.c
index a8756f8..3e0a9b3 100644
--- a/arch/mips/mti-malta/malta-int.c
+++ b/arch/mips/mti-malta/malta-int.c
@@ -331,6 +331,7 @@ static struct irqaction irq_call = {
        .flags          = IRQF_DISABLED|IRQF_PERCPU,
        .name           = "IPI_call"
 };
+#endif /* CONFIG_MIPS_MT_SMP */
 
 static int gic_resched_int_base;
 static int gic_call_int_base;
@@ -346,7 +347,6 @@ unsigned int plat_ipi_resched_int_xlate(unsigned int cpu)
 {
        return GIC_RESCHED_INT(cpu);
 }
-#endif /* CONFIG_MIPS_MT_SMP */
 
 static struct irqaction i8259irq = {
        .handler = no_action,


<Prev in Thread] Current Thread [Next in Thread>