diff options
author | Arnd Bergmann <arnd@arndb.de> | 2011-10-31 18:58:06 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-10-31 19:11:41 -0400 |
commit | a7fadac10ffbfd16cc7ccf951eab1ecf85e1abdf (patch) | |
tree | 64a1035b02cb8aae34b96fc7c1c7caaad337ac07 /arch/arm/mach-exynos4/platsmp.c | |
parent | 335332770c68649ffeaf5dc2b58d9cd40041e295 (diff) | |
parent | 531a6a941745e1e045dd2a6bd09e1dc01247a5f3 (diff) |
Merge branch 'depends/rmk/devel-stable' into next/board
The exynos4 updates conflict with code from the arm devel-stable branch
and new boards need to set atag_offset in place of boot_param.
Conflicts:
arch/arm/Kconfig
arch/arm/mach-exynos4/include/mach/entry-macro.S
arch/arm/mach-exynos4/mach-smdkc210.c
arch/arm/mach-exynos4/mach-smdkv310.c
arch/arm/mach-exynos4/mct.c
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-exynos4/platsmp.c')
-rw-r--r-- | arch/arm/mach-exynos4/platsmp.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/arm/mach-exynos4/platsmp.c b/arch/arm/mach-exynos4/platsmp.c index d5f0f299ba0..782dcf11d23 100644 --- a/arch/arm/mach-exynos4/platsmp.c +++ b/arch/arm/mach-exynos4/platsmp.c | |||
@@ -197,12 +197,10 @@ void __init smp_init_cpus(void) | |||
197 | ncores = scu_base ? scu_get_core_count(scu_base) : 1; | 197 | ncores = scu_base ? scu_get_core_count(scu_base) : 1; |
198 | 198 | ||
199 | /* sanity check */ | 199 | /* sanity check */ |
200 | if (ncores > NR_CPUS) { | 200 | if (ncores > nr_cpu_ids) { |
201 | printk(KERN_WARNING | 201 | pr_warn("SMP: %u cores greater than maximum (%u), clipping\n", |
202 | "EXYNOS4: no. of cores (%d) greater than configured " | 202 | ncores, nr_cpu_ids); |
203 | "maximum of %d - clipping\n", | 203 | ncores = nr_cpu_ids; |
204 | ncores, NR_CPUS); | ||
205 | ncores = NR_CPUS; | ||
206 | } | 204 | } |
207 | 205 | ||
208 | for (i = 0; i < ncores; i++) | 206 | for (i = 0; i < ncores; i++) |