Skip to contentSkip to conversation

replace all occurrences of CONFIG_POWER3 by CONFIG_BATS64

PATCH In review Marvin 1 participant 1 message Jul 21, 2008 1 message not in the archive PowerPC

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Marvin

author
#1 lore raw

PATCH 2/5 replace all occurrences of CONFIG_POWER3 by CONFIG_BATS64

This patch replaces all occurrences of CONFIG_POWER3 by CONFIG_BATS64. It should have no effect on the output kernel.

Subject: [PATCH] replace all occurrences of CONFIG_POWER3 by CONFIG_BATS64

---
 arch/powerpc/configs/cell_defconfig    |    2 +-
 arch/powerpc/configs/celleb_defconfig  |    2 +-
 arch/powerpc/configs/iseries_defconfig |    2 +-
 arch/powerpc/configs/ppc64_defconfig   |    2 +-
 arch/powerpc/configs/ps3_defconfig     |    2 +-
 arch/powerpc/configs/pseries_defconfig |    2 +-
 arch/powerpc/mm/pgtable_32.c           |    2 +-
 arch/powerpc/platforms/Kconfig.cputype |    2 +-
 include/asm-powerpc/cputable.h         |    3 +--
 9 files changed, 9 insertions(+), 10 deletions(-)
(quoted diff) +0 -0

b/arch/powerpc/configs/cell_defconfig
index c420e47..579e996 100644

arch/powerpc/configs/cell_defconfig +1 -1
@@ -9,7 +9,7 @@ CONFIG_PPC64=y
 # Processor support
 #
 # CONFIG_POWER4_ONLY is not set
-CONFIG_POWER3=y
+CONFIG_BATS64=y
 CONFIG_POWER4=y
 CONFIG_TUNE_CELL=y
 CONFIG_PPC_FPU=y
(quoted diff) +0 -0

b/arch/powerpc/configs/celleb_defconfig
index 9ba3c6f..c2761a7 100644

arch/powerpc/configs/celleb_defconfig +1 -1
@@ -9,7 +9,7 @@ CONFIG_PPC64=y
 # Processor support
 #
 # CONFIG_POWER4_ONLY is not set
-CONFIG_POWER3=y
+CONFIG_BATS64=y
 CONFIG_POWER4=y
 CONFIG_TUNE_CELL=y
 CONFIG_PPC_FPU=y
(quoted diff) +0 -0

b/arch/powerpc/configs/iseries_defconfig
index 63f0bdb..5237a6b 100644

arch/powerpc/configs/iseries_defconfig +1 -1
@@ -9,7 +9,7 @@ CONFIG_PPC64=y
 # Processor support
 #
 # CONFIG_POWER4_ONLY is not set
-CONFIG_POWER3=y
+CONFIG_BATS64=y
 CONFIG_POWER4=y
 # CONFIG_TUNE_CELL is not set
 CONFIG_PPC_FPU=y
(quoted diff) +0 -0

b/arch/powerpc/configs/ppc64_defconfig
index ce250bc..953d840 100644

arch/powerpc/configs/ppc64_defconfig +1 -1
@@ -9,7 +9,7 @@ CONFIG_PPC64=y
 # Processor support
 #
 # CONFIG_POWER4_ONLY is not set
-CONFIG_POWER3=y
+CONFIG_BATS64=y
 CONFIG_POWER4=y
 # CONFIG_TUNE_CELL is not set
 CONFIG_PPC_FPU=y
(quoted diff) +0 -0

b/arch/powerpc/configs/ps3_defconfig
index 71d79e4..2015c69 100644

arch/powerpc/configs/ps3_defconfig +1 -1
@@ -9,7 +9,7 @@ CONFIG_PPC64=y
 # Processor support
 #
 # CONFIG_POWER4_ONLY is not set
-CONFIG_POWER3=y
+CONFIG_BATS64=y
 CONFIG_POWER4=y
 CONFIG_TUNE_CELL=y
 CONFIG_PPC_FPU=y
(quoted diff) +0 -0

b/arch/powerpc/configs/pseries_defconfig
index fe6ffa6..e163059 100644

arch/powerpc/configs/pseries_defconfig +1 -1
@@ -9,7 +9,7 @@ CONFIG_PPC64=y
 # Processor support
 #
 # CONFIG_POWER4_ONLY is not set
-CONFIG_POWER3=y
+CONFIG_BATS64=y
 CONFIG_POWER4=y
 # CONFIG_TUNE_CELL is not set
 CONFIG_PPC_FPU=y
arch/powerpc/mm/pgtable_32.c +1 -1
index c758407..c4e8d86 100644
@@ -38,7 +38,7 @@ unsigned long ioremap_base;
 unsigned long ioremap_bot;
 EXPORT_SYMBOL(ioremap_bot);	/* aka VMALLOC_END */
 
-#if defined(CONFIG_6xx) || defined(CONFIG_POWER3)
+#if defined(CONFIG_6xx) || defined(CONFIG_BATS64)
 #define HAVE_BATS	1
 #endif
 
(quoted diff) +0 -0

b/arch/powerpc/platforms/Kconfig.cputype
index 88e6ce2..b343fdb 100644

arch/powerpc/platforms/Kconfig.cputype +1 -1
@@ -115,7 +115,7 @@ config OPT_EXCLUSIVE
 	  
 	  If you are unsure, select no.
 
-config POWER3
+config BATS64
 	depends on PPC64
 	def_bool y if !POWER4_ONLY
 
include/asm-powerpc/cputable.h +0 -0
index 2a3e907..0ef9abc 100644
@@ -257,8 +257,7 @@ extern void do_feature_fixups(unsigned long value, void 

*fixup_start,
#endif

#define CLASSIC_PPC (!defined(CONFIG_8xx) && !defined(CONFIG_4xx) && \

-		     !defined(CONFIG_POWER3) && !defined(CONFIG_POWER4) && \
-		     !defined(CONFIG_BOOKE))
+		     !defined(CONFIG_POWER4) && !defined(CONFIG_BOOKE))

#define CPU_FTRS_PPC601 (CPU_FTR_COMMON | CPU_FTR_601 | CPU_FTR_HPTE_TABLE |
\
CPU_FTR_COHERENT_ICACHE | CPU_FTR_UNIFIED_ID_CACHE)

Signature · 1 line
1.5.6.2