Skip to contentSkip to conversation

linux: another little bit of Kconfig cleanup

PATCH New Jan Beulich 1 participant 1 message Jan 18, 2008 Xen hypervisor interface

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux: another little bit of Kconfig cleanup

Remove useless things and make the <arch>_XEN/XEN optiom imteraction for x86 the same as it is for ia64/powerpc (which is more appropriate).

As usual, written and tested on 2.6.24-rc7 and made apply to the 2.6.18 tree without further testing.

arch/i386/Kconfig +1 -0
Index: ./arch/i386/Kconfig
===================================================================
@@ -106,6 +106,7 @@
 
 config X86_XEN
 	bool "Xen-compatible"
+	select XEN
 	select X86_UP_APIC if !SMP && XEN_PRIVILEGED_GUEST
 	select X86_UP_IOAPIC if !SMP && XEN_PRIVILEGED_GUEST
 	select SWIOTLB
arch/x86_64/Kconfig +1 -0
Index: ./arch/x86_64/Kconfig
===================================================================
@@ -137,6 +137,7 @@
 
 config X86_64_XEN
 	bool "Enable Xen compatible kernel"
+	select XEN
 	select SWIOTLB
 	help
 	  This option will compile a kernel compatible with Xen hypervisor
drivers/xen/Kconfig +0 -4
Index: ./drivers/xen/Kconfig
===================================================================
@@ -6,9 +6,6 @@
 
 config XEN
 	bool
-	default y if X86_XEN || X86_64_XEN
-	help
-	  This is the Linux Xen port.
 
 if XEN
 config XEN_INTERFACE_VERSION
@@ -19,7 +16,6 @@
 
 config XEN_PRIVILEGED_GUEST
 	bool "Privileged Guest (domain 0)"
-	default n
 	help
 	  Support for privileged operation (domain 0)