ARM: mvebu: ll_set_cpu_coherent always uses the current CPU
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-mvebu / platsmp.c
index 32bf78e80c4839400372cb912735e916d6d152d5..75436c0023a8ddfd734ced13400f08263b7477ab 100644 (file)
@@ -103,7 +103,7 @@ static void __init armada_xp_smp_prepare_cpus(unsigned int max_cpus)
 
        set_secondary_cpus_clock();
        flush_cache_all();
-       set_cpu_coherent(cpu_logical_map(smp_processor_id()), 0);
+       set_cpu_coherent(0);
 
        /*
         * In order to boot the secondary CPUs we need to ensure