summaryrefslogtreecommitdiffstats
path: root/arch/mips/mipssim
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2011-03-25 18:45:13 +0100
committerRalf Baechle <ralf@linux-mips.org>2011-03-25 18:45:13 +0100
commit1685f3b158a244d4f6e205e67c84483fffcb2d9f (patch)
tree73aa1eb0a7aae304797b3e8f4181cca3b5f6bec1 /arch/mips/mipssim
parentf9b08d9c606498584e1fb05ab95a575e52f0f8e2 (diff)
downloadlinux-1685f3b158a244d4f6e205e67c84483fffcb2d9f.tar.bz2
MIPS: SMTC: Move declaration of smtc_init_secondary to <asm/smtc.h>.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mipssim')
-rw-r--r--arch/mips/mipssim/sim_smtc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/mipssim/sim_smtc.c b/arch/mips/mipssim/sim_smtc.c
index 5da30b6a65b7..30df47258c2c 100644
--- a/arch/mips/mipssim/sim_smtc.c
+++ b/arch/mips/mipssim/sim_smtc.c
@@ -27,6 +27,7 @@
#include <asm/atomic.h>
#include <asm/cpu.h>
#include <asm/processor.h>
+#include <asm/smtc.h>
#include <asm/system.h>
#include <asm/mmu_context.h>
#include <asm/smtc_ipi.h>
@@ -57,8 +58,6 @@ static inline void ssmtc_send_ipi_mask(const struct cpumask *mask,
*/
static void __cpuinit ssmtc_init_secondary(void)
{
- void smtc_init_secondary(void);
-
smtc_init_secondary();
}