Skip to contentSkip to conversation

linux: kconfig adjustment

PATCH New Jan Beulich 1 participant 1 message Dec 6, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux: kconfig adjustment

2.6.24 removes support for omitting 'on' after 'depends', and fixing this early doesn't harm older Linux.

As usual, written and tested against 2.6.24-rc3 and made apply against 2.6.18 without further testing.

arch/x86_64/Kconfig +1 -1
Index: head-2007-11-30/arch/x86_64/Kconfig
===================================================================
@@ -233,7 +233,7 @@
 
 config X86_XEN_GENAPIC
 	bool
-	depends X86_64_XEN
+	depends on X86_64_XEN
 	default XEN_PRIVILEGED_GUEST || SMP
 
 config X86_LOCAL_APIC
drivers/xen/Kconfig +0 -1
Index: head-2007-11-30/drivers/xen/Kconfig
===================================================================
@@ -19,7 +19,6 @@
 
 config XEN_PRIVILEGED_GUEST
 	bool "Privileged Guest (domain 0)"
-	depends XEN
 	default n
 	help
 	  Support for privileged operation (domain 0)
fs/Kconfig +1 -1
Index: head-2007-11-30/fs/Kconfig
===================================================================
@@ -870,7 +870,7 @@
 config HUGETLBFS
 	bool "HugeTLB file system support"
 	depends X86 || IA64 || PPC64 || SPARC64 || SUPERH || BROKEN
-	depends !XEN
+	depends on !XEN
 	help
 	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
 	  ramfs. For architectures that support it, say Y here and read