|
@@ -76,6 +76,12 @@ void mips_cpc_lock_other(unsigned int core)
|
|
|
spin_lock_irqsave(&per_cpu(cpc_core_lock, curr_core),
|
|
|
per_cpu(cpc_core_lock_flags, curr_core));
|
|
|
write_cpc_cl_other(core << CPC_Cx_OTHER_CORENUM_SHF);
|
|
|
+
|
|
|
+ /*
|
|
|
+ * Ensure the core-other region reflects the appropriate core &
|
|
|
+ * VP before any accesses to it occur.
|
|
|
+ */
|
|
|
+ mb();
|
|
|
}
|
|
|
|
|
|
void mips_cpc_unlock_other(void)
|