Skip to contentSkip to conversation

Fix compile error when SMTC support is enabled

PATCH Applied Raghu Gandham 2 participants 2 messages Jul 9, 2009 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix compile error when SMTC support is enabled

Commit fc03bc1715ca0ad4ccfe97aab16bcc9e7129c1a4 breaks when SMTC support is enabled on Malta. This patch is a fix for that.

---

 arch/mips/mti-malta/malta-int.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/mti-malta/malta-int.c +1 -1
index a8756f8..3e0a9b3 100644
@@ -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,
Applied
#1 lore raw

On Wed, Jul 08, 2009 at 05:00:44PM -0700, Raghu Gandham wrote:

Thanks, applied.

Ralf