Commit 1685f3b1 authored by Ralf Baechle's avatar Ralf Baechle

MIPS: SMTC: Move declaration of smtc_init_secondary to <asm/smtc.h>.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent f9b08d9c
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include <asm/atomic.h> #include <asm/atomic.h>
#include <asm/cpu.h> #include <asm/cpu.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/smtc.h>
#include <asm/system.h> #include <asm/system.h>
#include <asm/mmu_context.h> #include <asm/mmu_context.h>
#include <asm/smtc_ipi.h> #include <asm/smtc_ipi.h>
...@@ -57,8 +58,6 @@ static inline void ssmtc_send_ipi_mask(const struct cpumask *mask, ...@@ -57,8 +58,6 @@ static inline void ssmtc_send_ipi_mask(const struct cpumask *mask,
*/ */
static void __cpuinit ssmtc_init_secondary(void) static void __cpuinit ssmtc_init_secondary(void)
{ {
void smtc_init_secondary(void);
smtc_init_secondary(); smtc_init_secondary();
} }
......
...@@ -34,7 +34,6 @@ static void msmtc_send_ipi_mask(const struct cpumask *mask, unsigned int action) ...@@ -34,7 +34,6 @@ static void msmtc_send_ipi_mask(const struct cpumask *mask, unsigned int action)
*/ */
static void __cpuinit msmtc_init_secondary(void) static void __cpuinit msmtc_init_secondary(void)
{ {
void smtc_init_secondary(void);
int myvpe; int myvpe;
/* Don't enable Malta I/O interrupts (IP2) for secondary VPEs */ /* Don't enable Malta I/O interrupts (IP2) for secondary VPEs */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment