Skip to contentSkip to conversation

powerpc: Kconfig clean patches

PATCH New Kumar Gala 1 participant 6 messages Oct 16, 2009

Subsystems (5)
lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

cover powerpc: Kconfig clean patches

This is a series of simple Kconfig cleans related to powerpc intended for v2.6.33. I'm assuming having them go via the powerpc tree is probably the easiest.

- k

author
#1 lore raw

PATCH 1/5 powerpc: Limit hugetlbfs support to PPC64 Book-3S machines

---
 fs/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/Kconfig +1 -1
index d4bf8ca..f93d0ed 100644
@@ -135,7 +135,7 @@ config TMPFS_POSIX_ACL
 
 config HUGETLBFS
 	bool "HugeTLB file system support"
-	depends on X86 || IA64 || PPC64 || SPARC64 || (SUPERH && MMU) || \
+	depends on X86 || IA64 || PPC_BOOK3S_64 || SPARC64 || (SUPERH && MMU) || \
 		   (S390 && 64BIT) || SYS_SUPPORTS_HUGETLBFS || BROKEN
 	help
 	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
Signature · 1 line
1.6.0.6
author
#2 lore raw

PATCH 2/5 powerpc: Limit memory hotplug support to PPC64 Book-3S machines

---
 mm/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
mm/Kconfig +1 -1
index 57963c6..7ca3777 100644
@@ -129,7 +129,7 @@ config MEMORY_HOTPLUG
 	bool "Allow for memory hot-add"
 	depends on SPARSEMEM || X86_64_ACPI_NUMA
 	depends on HOTPLUG && !(HIBERNATION && !S390) && ARCH_ENABLE_MEMORY_HOTPLUG
-	depends on (IA64 || X86 || PPC64 || SUPERH || S390)
+	depends on (IA64 || X86 || PPC_BOOK3S_64 || SUPERH || S390)
 
 comment "Memory hotplug is currently incompatible with Software Suspend"
 	depends on SPARSEMEM && HOTPLUG && HIBERNATION && !S390
Signature · 1 line
1.6.0.6
author
#3 lore raw

PATCH 3/5 powerpc: cleanup init/Kconfig

We dont need to depend on PPC64 explicitly as all powerpc platforms (32-bit and 64-bit) define PPC now.

---
 init/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
init/Kconfig +1 -1
index 09c5c64..f515864 100644
@@ -297,7 +297,7 @@ config AUDIT
 
 config AUDITSYSCALL
 	bool "Enable system-call auditing support"
-	depends on AUDIT && (X86 || PPC || PPC64 || S390 || IA64 || UML || SPARC64|| SUPERH)
+	depends on AUDIT && (X86 || PPC || S390 || IA64 || UML || SPARC64 || SUPERH)
 	default y if SECURITY_SELINUX
 	help
 	  Enable low-overhead system-call auditing infrastructure that
Signature · 1 line
1.6.0.6
author
#4 lore raw

PATCH 4/5 powerpc: clean up sound/ppc/Kconfig

We can replace PPC32 || PPC64 as a dependancy with just PPC as all powerpc platforms (32-bit and 64-bit) define PPC now.

---
 sound/ppc/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/ppc/Kconfig +1 -1
index bd2338a..0519c60 100644
@@ -2,7 +2,7 @@
 
 menuconfig SND_PPC
 	bool "PowerPC sound devices"
-	depends on PPC64 || PPC32
+	depends on PPC
 	default y
 	help
 	  Support for sound devices specific to PowerPC architectures.
Signature · 1 line
1.6.0.6
author
#5 lore raw

PATCH 5/5 powerpc: Cleanup lib/Kconfig.debug

We don't need an explicit PPC64 in the DEBUG_PREEMPT dependancies as all PPC platforms now support TRACE_IRQFLAGS_SUPPORT.

---
 lib/Kconfig.debug |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/Kconfig.debug +1 -1
index 30df586..234ceb1 100644
@@ -392,7 +392,7 @@ config DEBUG_KMEMLEAK_TEST
 
 config DEBUG_PREEMPT
 	bool "Debug preemptible kernel"
-	depends on DEBUG_KERNEL && PREEMPT && (TRACE_IRQFLAGS_SUPPORT || PPC64)
+	depends on DEBUG_KERNEL && PREEMPT && TRACE_IRQFLAGS_SUPPORT
 	default y
 	help
 	  If you say Y here then the kernel will use a debug variant of the
Signature · 1 line
1.6.0.6