aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powermac/cache.S
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2018-11-17 10:24:56 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2018-11-26 22:33:37 +1100
commitd7cceda96badc1bd444cff27ab9c375a1277c1e3 (patch)
tree62238e4ef5640373dd821b3e9eaf1f68ab970d44 /arch/powerpc/platforms/powermac/cache.S
parentdrivers/cpufreq: change CONFIG_6xx to CONFIG_PPC_BOOK3S_32 (diff)
downloadlinux-dev-d7cceda96badc1bd444cff27ab9c375a1277c1e3.tar.xz
linux-dev-d7cceda96badc1bd444cff27ab9c375a1277c1e3.zip
powerpc: change CONFIG_6xx to CONFIG_PPC_BOOK3S_32
Today we have: config PPC_BOOK3S_32 bool "512x/52xx/6xx/7xx/74xx/82xx/83xx/86xx" [depends on PPC32 within a choice] config PPC_BOOK3S def_bool y depends on PPC_BOOK3S_32 || PPC_BOOK3S_64 config 6xx def_bool y depends on PPC32 && PPC_BOOK3S 6xx is therefore redundant with PPC_BOOK3S_32. In order to make the code clearer, lets use preferably PPC_BOOK3S_32. This will allow to remove CONFIG_6xx in a later patch. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powermac/cache.S')
-rw-r--r--arch/powerpc/platforms/powermac/cache.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/powermac/cache.S b/arch/powerpc/platforms/powermac/cache.S
index 27862feee4a5..f0641b6e6075 100644
--- a/arch/powerpc/platforms/powermac/cache.S
+++ b/arch/powerpc/platforms/powermac/cache.S
@@ -28,7 +28,7 @@
*/
_GLOBAL(flush_disable_caches)
-#ifndef CONFIG_6xx
+#ifndef CONFIG_PPC_BOOK3S_32
blr
#else
BEGIN_FTR_SECTION
@@ -356,4 +356,4 @@ END_FTR_SECTION_IFSET(CPU_FTR_L3CR)
mtmsr r11 /* restore DR and EE */
isync
blr
-#endif /* CONFIG_6xx */
+#endif /* CONFIG_PPC_BOOK3S_32 */