|
@@ -92,8 +92,7 @@ static void __init imx_smp_prepare_cpus(unsigned int max_cpus)
|
|
|
* secondary cores when booting them.
|
|
|
*/
|
|
|
asm("mrc p15, 0, %0, c15, c0, 1" : "=r" (g_diag_reg) : : "cc");
|
|
|
- __cpuc_flush_dcache_area(&g_diag_reg, sizeof(g_diag_reg));
|
|
|
- outer_clean_range(__pa(&g_diag_reg), __pa(&g_diag_reg + 1));
|
|
|
+ sync_cache_w(&g_diag_reg);
|
|
|
}
|
|
|
|
|
|
struct smp_operations imx_smp_ops __initdata = {
|