From f43b059d8dfb90f7c87b88eff0a57f5a79dd87ff Mon Sep 17 00:00:00 2001 From: James Hogan Date: Mon, 24 Jun 2013 11:12:38 +0100 Subject: 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 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); -- cgit v0.10.2