From: "Jan Beulich" Subject: [PATCH] linux: another little bit of Kconfig cleanup Date: Fri, 18 Jan 2008 15:00:00 +0000 Message-ID: <4790CD00.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Remove useless things and make the _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. Signed-off-by: Jan Beulich Index: ./arch/i386/Kconfig =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- a/arch/i386/Kconfig 2008-01-08 18:08:15.000000000 +0100 +++ b/arch/i386/Kconfig 2008-01-08 15:11:12.000000000 +0100 @@ -106,6 +106,7 @@ =20 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 Index: ./arch/x86_64/Kconfig =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- a/arch/x86_64/Kconfig 2008-01-08 18:08:15.000000000 +0100 +++ n/arch/x86_64/Kconfig 2008-01-08 15:11:12.000000000 +0100 @@ -137,6 +137,7 @@ =20 config X86_64_XEN bool "Enable Xen compatible kernel" + select XEN select SWIOTLB help This option will compile a kernel compatible with Xen hypervisor Index: ./drivers/xen/Kconfig =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- a/drivers/xen/Kconfig 2008-01-08 14:56:58.000000000 +0100 +++ b/drivers/xen/Kconfig 2008-01-08 18:08:40.000000000 +0100 @@ -6,9 +6,6 @@ =20 config XEN bool - default y if X86_XEN || X86_64_XEN - help - This is the Linux Xen port. =20 if XEN config XEN_INTERFACE_VERSION @@ -19,7 +16,6 @@ =20 config XEN_PRIVILEGED_GUEST bool "Privileged Guest (domain 0)" - default n help Support for privileged operation (domain 0) =20