]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commitdiff
x86: convert bigmem to Kconfig
authorDoug Goldstein <cardoe@cardoe.com>
Tue, 12 Jan 2016 10:27:49 +0000 (11:27 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 12 Jan 2016 10:27:49 +0000 (11:27 +0100)
Convert the bigmem build option to Kconfig.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
xen/arch/x86/Kconfig
xen/arch/x86/Rules.mk

index 7d2ed969ee10cfd0d40176c9bad2ffbe044bc091..d6297679bf34991118de67db4e7d9d1752fbb7df 100644 (file)
@@ -25,6 +25,17 @@ config ARCH_DEFCONFIG
 
 menu "Architecture Features"
 
+config BIGMEM
+       bool "big memory support"
+       default n
+       ---help---
+         Allows Xen to support up to 123Tb of memory.
+
+         This requires enlarging struct page_info as well as shrinking
+         the always accessible direct mapped memory range.
+
+         If unsure, say N.
+
 endmenu
 
 source "common/Kconfig"
index b76a7547a32521728def69e10f8cac596bdb3b3b..a108d24a354aa4fa79cbf27f0ee49568384297ac 100644 (file)
@@ -23,7 +23,6 @@ $(call as-insn-check,CFLAGS,CC,".equ \"x\"$$(comma)1", \
                      '-D__OBJECT_LABEL__=$(subst $(BASEDIR)/,,$(CURDIR))/$$@')
 
 shadow-paging ?= y
-bigmem        ?= n
 
 CFLAGS += -mno-red-zone -mno-sse -fpic
 CFLAGS += -fno-asynchronous-unwind-tables
@@ -33,4 +32,3 @@ CFLAGS += -DGCC_HAS_VISIBILITY_ATTRIBUTE
 endif
 
 CFLAGS-$(shadow-paging) += -DCONFIG_SHADOW_PAGING
-CFLAGS-$(bigmem)        += -DCONFIG_BIGMEM