]> Pileus Git - ~andy/linux/blobdiff - arch/powerpc/kernel/process.c
powerpc/476: Add isync after loading mmu and debug spr's
[~andy/linux] / arch / powerpc / kernel / process.c
index e4d71ced97ef7cb5ce438766e80d82252c2ec09f..9d255b4f0a0ec72678bbad3787d596a8c6be13d1 100644 (file)
@@ -371,6 +371,9 @@ int set_dabr(unsigned long dabr)
        /* XXX should we have a CPU_FTR_HAS_DABR ? */
 #ifdef CONFIG_PPC_ADV_DEBUG_REGS
        mtspr(SPRN_DAC1, dabr);
+#ifdef CONFIG_PPC_47x
+       isync();
+#endif
 #elif defined(CONFIG_PPC_BOOK3S)
        mtspr(SPRN_DABR, dabr);
 #endif