metag: don't check for cache aliasing on smp cpu boot
authorJames Hogan <james.hogan@imgtec.com>
Mon, 24 Jun 2013 10:12:38 +0000 (11:12 +0100)
committerJames Hogan <james.hogan@imgtec.com>
Thu, 27 Jun 2013 12:49:48 +0000 (13:49 +0100)
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>
arch/metag/kernel/smp.c

index f443ec9..86fdda4 100644 (file)
@@ -404,12 +404,6 @@ asmlinkage void secondary_start_kernel(void)
        set_cpu_online(cpu, true);
 
        /*
        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);
         * OK, it's off to the idle thread for us
         */
        cpu_startup_entry(CPUHP_ONLINE);