powerpc: Move the testing of CPU_FTR_COHERENT_ICACHE into __flush_icache_range
[linux-2.6-microblaze.git] / arch / powerpc / kernel / misc_64.S
index 6820e45..74d87f1 100644 (file)
@@ -68,7 +68,9 @@ PPC64_CACHES:
  */
 
 _KPROBE(__flush_icache_range)
-
+BEGIN_FTR_SECTION
+       blr
+END_FTR_SECTION_IFSET(CPU_FTR_COHERENT_ICACHE)
 /*
  * Flush the data cache to memory 
  *