x86: convert bigmem to Kconfig

Convert the bigmem build option to Kconfig.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
This commit is contained in:
Doug Goldstein authored and Jan Beulich committed 2016-01-12 11:27:49 +01:00
1 parent f7347a2824
commit 165f36d5fa
2 files changed
+11 -2

No files matched your search

+11
View 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"
-2
View 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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.