]> xenbits.xensource.com Git - people/liuw/xen.git/commitdiff
build: convert HAS_CORE_PARKING to Kconfig
authorDoug Goldstein <cardoe@cardoe.com>
Fri, 26 Feb 2016 11:35:46 +0000 (12:35 +0100)
committerWei Liu <wei.liu2@citrix.com>
Tue, 15 Mar 2016 16:32:30 +0000 (16:32 +0000)
Convert HAS_CORE_PARKING to Kconfig as CONFIG_CORE_PARKING. While
removing HAS_CORE_PARKING, removed a trailing whitespace on a near by
line.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/Kconfig
xen/arch/x86/Rules.mk
xen/common/Kconfig
xen/common/Makefile

index 60d5fb86b2352c554c3867bc3337cc75b421b8d4..ca233b7dd4db957ac077282dbf21239a46be0a0e 100644 (file)
@@ -6,6 +6,7 @@ config X86
        select ACPI
        select ACPI_LEGACY_TABLES_LOOKUP
        select COMPAT
+       select CORE_PARKING
        select HAS_CPUFREQ
        select HAS_EHCI
        select HAS_GDBSX
index c1fff66762f0fcc99f2b94c6b54cd6ebde097a97..3139886ae0f6f52a00ba3913cdebfe195ae3a9e6 100644 (file)
@@ -1,9 +1,7 @@
 ########################################
 # x86-specific definitions
 
-HAS_CORE_PARKING := y
-
-CFLAGS += -I$(BASEDIR)/include 
+CFLAGS += -I$(BASEDIR)/include
 CFLAGS += -I$(BASEDIR)/include/asm-x86/mach-generic
 CFLAGS += -I$(BASEDIR)/include/asm-x86/mach-default
 CFLAGS += '-D__OBJECT_LABEL__=$(subst /,$$,$(subst -,_,$(subst $(BASEDIR)/,,$(CURDIR))/$@))'
index 49de7906596e7ad314dc2b4b2e399a15b419124a..8fbc46d4af1a0d01a59fb24240453c26488f7958 100644 (file)
@@ -8,6 +8,9 @@ config COMPAT
          HVM and PV guests. HVMLoader makes 32-bit hypercalls irrespective
          of the destination runmode of the guest.
 
+config CORE_PARKING
+       bool
+
 config FLASK
        bool "FLux Advanced Security Kernel support"
        default y
index 57f4ed7642743534898ccef9b9bd56194a659ca1..82625a5c96887ed32486339723707c3811688cdf 100644 (file)
@@ -1,5 +1,5 @@
 obj-y += bitmap.o
-obj-$(HAS_CORE_PARKING) += core_parking.o
+obj-$(CONFIG_CORE_PARKING) += core_parking.o
 obj-y += cpu.o
 obj-y += cpupool.o
 obj-$(CONFIG_HAS_DEVICE_TREE) += device_tree.o