[PATCH 6/28] UML - x86-64 config support

From: Jeff Dike
Date: Mon Jan 10 2005 - 00:27:14 EST


This adds architecture-specific Kconfig support, plus Kconfig_i386 and
Kconfig_x86_64. Currently the only option defined there is CONFIG_64_BIT.

Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxx>

Index: linux-2.6.10/arch/um/Kconfig_i386
===================================================================
--- linux-2.6.10.orig/arch/um/Kconfig_i386 2005-01-04 17:02:27.000000000 -0500
+++ linux-2.6.10/arch/um/Kconfig_i386 2005-01-04 23:13:07.000000000 -0500
@@ -1,3 +1,6 @@
+config 64_BIT
+ bool
+ default n
config 3_LEVEL_PGTABLES
bool "Three-level pagetables"
default n
Index: linux-2.6.10/arch/um/Kconfig_x86_64
===================================================================
--- linux-2.6.10.orig/arch/um/Kconfig_x86_64 2003-09-15 09:40:47.000000000 -0400
+++ linux-2.6.10/arch/um/Kconfig_x86_64 2005-01-04 23:13:07.000000000 -0500
@@ -0,0 +1,7 @@
+config 64_BIT
+ bool
+ default y
+
+config 3_LEVEL_PGTABLES
+ bool
+ default y
Index: linux-2.6.10/arch/um/Makefile
===================================================================
--- linux-2.6.10.orig/arch/um/Makefile 2005-01-04 23:13:05.000000000 -0500
+++ linux-2.6.10/arch/um/Makefile 2005-01-04 23:13:07.000000000 -0500
@@ -79,6 +79,8 @@
echo ' find in the kernel root.'
endef

+$(shell cd $(ARCH_DIR) && ln -sf Kconfig_$(SUBARCH) Kconfig_arch)
+
prepare: $(ARCH_SYMLINKS) $(SYS_HEADERS) $(GEN_HEADERS) \
$(ARCH_DIR)/kernel/vmlinux.lds.S


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/