summaryrefslogtreecommitdiffstats
path: root/arch/metag/kernel/smp.c
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2013-06-24 11:12:38 +0100
committerJames Hogan <james.hogan@imgtec.com>2013-06-27 13:49:48 +0100
commitf43b059d8dfb90f7c87b88eff0a57f5a79dd87ff (patch)
treed7a252b5dc81d8ac52319372de24456c5bd4fb49 /arch/metag/kernel/smp.c
parent30dd5f7a573f10383d1fef237c69e6f69a1589e8 (diff)
downloadop-kernel-dev-f43b059d8dfb90f7c87b88eff0a57f5a79dd87ff.zip
op-kernel-dev-f43b059d8dfb90f7c87b88eff0a57f5a79dd87ff.tar.gz
metag: don't check for cache aliasing on smp cpu boot
The cache configuration of the boot cpu is now duplicated to secondary cpus, so there's no need to check for cache aliasing again when a secondary cpu is booted. Therefore remove the check from secondary_start_kernel(). Signed-off-by: James Hogan <james.hogan@imgtec.com>
Diffstat (limited to 'arch/metag/kernel/smp.c')
-rw-r--r--arch/metag/kernel/smp.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/metag/kernel/smp.c b/arch/metag/kernel/smp.c
index f443ec9..86fdda4 100644
--- a/arch/metag/kernel/smp.c
+++ b/arch/metag/kernel/smp.c
@@ -404,12 +404,6 @@ asmlinkage void secondary_start_kernel(void)
set_cpu_online(cpu, true);
/*
- * Check for cache aliasing.
- * Preemption is disabled
- */
- check_for_cache_aliasing(cpu);
-
- /*
* OK, it's off to the idle thread for us
*/
cpu_startup_entry(CPUHP_ONLINE);
OpenPOWER on IntegriCloud