summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/smp.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2009-09-15 13:36:13 +0200
committerRalf Baechle <ralf@linux-mips.org>2009-09-17 20:07:43 +0200
commit7e17615c45980fc34d3f7d04bc7063cfc32180ec (patch)
tree0ad0493669fc81e7a04bfcfd2a9b90aaff7370f5 /arch/mips/kernel/smp.c
parent70ebadc8e30efef3bf21ba94b3571537de8bcf4e (diff)
downloadop-kernel-dev-7e17615c45980fc34d3f7d04bc7063cfc32180ec.zip
op-kernel-dev-7e17615c45980fc34d3f7d04bc7063cfc32180ec.tar.gz
MIPS: Get rid of duplicate cpu_idle() prototype.
Since 2.6.11-rc1 there is a prototype in <linux/smp.h>. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/smp.c')
-rw-r--r--arch/mips/kernel/smp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/kernel/smp.c b/arch/mips/kernel/smp.c
index bc7d9b0..64668a9 100644
--- a/arch/mips/kernel/smp.c
+++ b/arch/mips/kernel/smp.c
@@ -32,6 +32,7 @@
#include <linux/cpumask.h>
#include <linux/cpu.h>
#include <linux/err.h>
+#include <linux/smp.h>
#include <asm/atomic.h>
#include <asm/cpu.h>
@@ -49,8 +50,6 @@ volatile cpumask_t cpu_callin_map; /* Bitmask of started secondaries */
int __cpu_number_map[NR_CPUS]; /* Map physical to logical */
int __cpu_logical_map[NR_CPUS]; /* Map logical to physical */
-extern void cpu_idle(void);
-
/* Number of TCs (or siblings in Intel speak) per CPU core */
int smp_num_siblings = 1;
EXPORT_SYMBOL(smp_num_siblings);
OpenPOWER on IntegriCloud