]> Pileus Git - ~andy/linux/commitdiff
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 f443ec9a7cbef5278108bd28f99c8cd701d84091..86fdda4a85c467c4da905025febb723a074520ad 100644 (file)
@@ -403,12 +403,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
         */