|
|
@@ -821,4 +821,14 @@ END_FTR_SECTION_IFCLR(CPU_FTR_601)
|
|
|
stringify_in_c(.long (_target) - . ;) \
|
|
|
stringify_in_c(.previous)
|
|
|
|
|
|
+#ifdef CONFIG_PPC_FSL_BOOK3E
|
|
|
+#define BTB_FLUSH(reg) \
|
|
|
+ lis reg,BUCSR_INIT@h; \
|
|
|
+ ori reg,reg,BUCSR_INIT@l; \
|
|
|
+ mtspr SPRN_BUCSR,reg; \
|
|
|
+ isync;
|
|
|
+#else
|
|
|
+#define BTB_FLUSH(reg)
|
|
|
+#endif /* CONFIG_PPC_FSL_BOOK3E */
|
|
|
+
|
|
|
#endif /* _ASM_POWERPC_PPC_ASM_H */
|