From: "Jan Beulich" Subject: [PATCH] linux: kconfig adjustment Date: Thu, 06 Dec 2007 15:36:42 +0000 Message-ID: <4758251A.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 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. Signed-off-by: Jan Beulich Index: head-2007-11-30/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 --- head-2007-11-30.orig/arch/x86_64/Kconfig 2007-12-06 14:56:17.0000000= 00 +0100 +++ head-2007-11-30/arch/x86_64/Kconfig 2007-12-05 18:02:38.000000000 = +0100 @@ -233,7 +233,7 @@ =20 config X86_XEN_GENAPIC bool - depends X86_64_XEN + depends on X86_64_XEN default XEN_PRIVILEGED_GUEST || SMP =20 config X86_LOCAL_APIC Index: head-2007-11-30/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 --- head-2007-11-30.orig/drivers/xen/Kconfig 2007-12-06 14:56:17.0000000= 00 +0100 +++ head-2007-11-30/drivers/xen/Kconfig 2007-12-04 17:14:52.000000000 = +0100 @@ -19,7 +19,6 @@ =20 config XEN_PRIVILEGED_GUEST bool "Privileged Guest (domain 0)" - depends XEN default n help Support for privileged operation (domain 0) Index: head-2007-11-30/fs/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 --- head-2007-11-30.orig/fs/Kconfig 2007-12-06 14:56:17.000000000 = +0100 +++ head-2007-11-30/fs/Kconfig 2007-12-04 17:13:39.000000000 +0100 @@ -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