Skip to contentSkip to conversation

UML - x86-64 config support

PATCH New Jeff Dike 1 participant 1 message Jan 10, 2005 User-mode Linux (UML)

lore
Share & tools
lore

Jeff Dike

author
#0 lore raw

PATCH 6/28 UML - x86-64 config support

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

arch/um/Kconfig_i386 +3 -0
Index: linux-2.6.10/arch/um/Kconfig_i386
===================================================================
@@ -1,3 +1,6 @@
+config 64_BIT
+	bool
+	default n
 config 3_LEVEL_PGTABLES
 	bool "Three-level pagetables"
 	default n
arch/um/Kconfig_x86_64 +7 -0
Index: linux-2.6.10/arch/um/Kconfig_x86_64
===================================================================
@@ -0,0 +1,7 @@
+config 64_BIT
+	bool
+	default y
+
+config 3_LEVEL_PGTABLES
+       bool
+       default y
arch/um/Makefile +2 -0
Index: linux-2.6.10/arch/um/Makefile
===================================================================
@@ -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