linux-mips
[Top] [All Lists]

[PATCH] MIPS: Octeon: Move declaration of 'fixup_irqs' to common header.

To: linux-mips@linux-mips.org
Subject: [PATCH] MIPS: Octeon: Move declaration of 'fixup_irqs' to common header.
From: "Steven J. Hill" <Steven.Hill@imgtec.com>
Date: Thu, 25 Jul 2013 00:40:17 -0500
Cc: "Steven J. Hill" <Steven.Hill@imgtec.com>, Ralf Baechle <ralf@linux-mips.org>, David Daney <david.daney@cavium.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
To prepare for CPU hotplug of CM-based platforms.

Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
---
 arch/mips/cavium-octeon/smp.c |    2 --
 arch/mips/include/asm/irq.h   |    1 +
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/arch/mips/cavium-octeon/smp.c b/arch/mips/cavium-octeon/smp.c
index 138cc80..a63dbc0 100644
--- a/arch/mips/cavium-octeon/smp.c
+++ b/arch/mips/cavium-octeon/smp.c
@@ -255,8 +255,6 @@ static void octeon_cpus_done(void)
 /* State of each CPU. */
 DEFINE_PER_CPU(int, cpu_state);
 
-extern void fixup_irqs(void);
-
 static int octeon_cpu_disable(void)
 {
        unsigned int cpu = smp_processor_id();
diff --git a/arch/mips/include/asm/irq.h b/arch/mips/include/asm/irq.h
index 7bc2cdb..8994ca8 100644
--- a/arch/mips/include/asm/irq.h
+++ b/arch/mips/include/asm/irq.h
@@ -126,6 +126,7 @@ extern void do_IRQ_no_affinity(unsigned int irq);
 
 extern void arch_init_irq(void);
 extern void spurious_interrupt(void);
+extern void fixup_irqs(void);
 
 extern int allocate_irqno(void);
 extern void alloc_legacy_irqno(void);
-- 
1.7.2.5


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