[PATCH 2/2] metag: don't check for cache aliasing on smp cpu boot

From: James Hogan
Date: Mon Jun 24 2013 - 08:50:09 EST


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@xxxxxxxxxx>
---
arch/metag/kernel/smp.c | 6 ------
1 file changed, 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);
--
1.8.1.2


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/