]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - arch/ppc/platforms/pmac_cache.S
[PATCH] ppc32: Fix building 32bit kernel for 64bit machines
[linux-2.6.git] / arch / ppc / platforms / pmac_cache.S
index c00e0352044d494db87214dffb631ca9821b06f3..da34a9bc9299ed93432604f8cc0b371add4dad0a 100644 (file)
@@ -28,6 +28,9 @@
  */
 
 _GLOBAL(flush_disable_caches)
  */
 
 _GLOBAL(flush_disable_caches)
+#ifndef CONFIG_6xx
+       blr
+#else
 BEGIN_FTR_SECTION
        b       flush_disable_745x
 END_FTR_SECTION_IFSET(CPU_FTR_SPEC7450)
 BEGIN_FTR_SECTION
        b       flush_disable_745x
 END_FTR_SECTION_IFSET(CPU_FTR_SPEC7450)
@@ -323,3 +326,4 @@ END_FTR_SECTION_IFSET(CPU_FTR_L3CR)
        mtmsr   r11             /* restore DR and EE */
        isync
        blr
        mtmsr   r11             /* restore DR and EE */
        isync
        blr
+#endif /* CONFIG_6xx */