Skip to contentSkip to conversation

powerpc: hide CONFIG_ALTIVEC on iSeries

PATCH In review Olaf Hering 2 participants 3 messages Dec 1, 2005 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: hide CONFIG_ALTIVEC on iSeries

Do not offer CONFIG_ALTIVEC for legacy iSeries. They predate the 970.

 arch/powerpc/Kconfig |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/Kconfig +1 -1
Index: linux-2.6.15-rc4-olh/arch/powerpc/Kconfig
===================================================================
@@ -169,7 +169,7 @@ config PHYS_64BIT
 
 config ALTIVEC
 	bool "AltiVec Support"
-	depends on 6xx || POWER4
+	depends on (6xx || POWER4) && !PPC_ISERIES
 	---help---
 	  This option enables kernel support for the Altivec extensions to the
 	  PowerPC processor. The kernel currently supports saving and restoring
Signature · 2 lines
short story of a lazy sysadmin:
 alias appserv=wotan
#1 lore raw
Quoted 1 line · Olaf Hering

Do not offer CONFIG_ALTIVEC for legacy iSeries. They predate the 970.

I am still hoping that we will get to the point of being able to build a single binary kernel for both iSeries and the rest (pSeries, pmac, etc.). If we put in this patch then we'll undoubtedly forget to take it back out when we do get to the single binary kernel.

Does it cause any actual problem to have CONFIG_ALTIVEC offered on legacy iSeries?

Paul.

#2 lore raw
Quoted 2 lines · Paul Mackeras

Does it cause any actual problem to have CONFIG_ALTIVEC offered on legacy iSeries?

Its just an unneeded question when running oldconfig on an older .config for iseries. I cant test if it causes any trouble.
CPU_FREQ is similar, but I dont see an easy way to hide it.

Signature · 2 lines
short story of a lazy sysadmin:
 alias appserv=wotan