powerpc/64s: Move branch cache flushing bcctr variant to ppc-ops.h
[linux-2.6-microblaze.git] / arch / powerpc / kernel / entry_64.S
index bdef9c1..da85c25 100644 (file)
@@ -261,8 +261,6 @@ _ASM_NOKPROBE_SYMBOL(save_nvgprs);
 1:     nop;                    \
        patch_site 1b, patch__call_flush_branch_caches
 
-#define BCCTR_FLUSH    .long 0x4c400420
-
 .macro nops number
        .rept \number
        nop
@@ -293,7 +291,7 @@ flush_branch_caches:
        li      r9,0x7fff
        mtctr   r9
 
-       BCCTR_FLUSH
+       PPC_BCCTR_FLUSH
 
 2:     nop
        patch_site 2b patch__flush_count_cache_return
@@ -302,7 +300,7 @@ flush_branch_caches:
 
        .rept 278
        .balign 32
-       BCCTR_FLUSH
+       PPC_BCCTR_FLUSH
        nops    7
        .endr