diff options
author | Magnus Damm <damm@opensource.se> | 2013-08-07 18:13:49 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-09-20 20:47:31 -0400 |
commit | c4e1e64d2b6a921a57629ede635f81f5d2882543 (patch) | |
tree | c481a303bdfae2ca62a6423b27744103bd19acc2 /arch/arm/mach-shmobile/platsmp.c | |
parent | a3b142a1a08af543473ae726e5d96a969c5b02b5 (diff) |
ARM: shmobile: Remove unused shmobile_smp_init_cpus()
Remove shmobile_smp_init_cpus() since all SMP platforms in
mach-shmobile now rely on DT for CPU core description instead
of for instance determining number of cores from the SCU.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/platsmp.c')
-rw-r--r-- | arch/arm/mach-shmobile/platsmp.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/arm/mach-shmobile/platsmp.c b/arch/arm/mach-shmobile/platsmp.c index 3741562156ed..9ebc246b8d7d 100644 --- a/arch/arm/mach-shmobile/platsmp.c +++ b/arch/arm/mach-shmobile/platsmp.c | |||
@@ -11,25 +11,10 @@ | |||
11 | * published by the Free Software Foundation. | 11 | * published by the Free Software Foundation. |
12 | */ | 12 | */ |
13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
14 | #include <linux/smp.h> | ||
15 | #include <asm/cacheflush.h> | 14 | #include <asm/cacheflush.h> |
16 | #include <asm/smp_plat.h> | 15 | #include <asm/smp_plat.h> |
17 | #include <mach/common.h> | 16 | #include <mach/common.h> |
18 | 17 | ||
19 | void __init shmobile_smp_init_cpus(unsigned int ncores) | ||
20 | { | ||
21 | unsigned int i; | ||
22 | |||
23 | if (ncores > nr_cpu_ids) { | ||
24 | pr_warn("SMP: %u cores greater than maximum (%u), clipping\n", | ||
25 | ncores, nr_cpu_ids); | ||
26 | ncores = nr_cpu_ids; | ||
27 | } | ||
28 | |||
29 | for (i = 0; i < ncores; i++) | ||
30 | set_cpu_possible(i, true); | ||
31 | } | ||
32 | |||
33 | extern unsigned long shmobile_smp_fn[]; | 18 | extern unsigned long shmobile_smp_fn[]; |
34 | extern unsigned long shmobile_smp_arg[]; | 19 | extern unsigned long shmobile_smp_arg[]; |
35 | extern unsigned long shmobile_smp_mpidr[]; | 20 | extern unsigned long shmobile_smp_mpidr[]; |