build: convert HAS_PDX use to Kconfig

Use the Kconfig generated CONFIG_HAS_PDX defines in the code base.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
Doug Goldstein authored and Jan Beulich committed 2015-12-16 17:49:16 +01:00
1 parent 9ad19015ce
commit 04075af137
8 files changed
+8 -5

No files matched your search

-1
View File
@@ -59,7 +59,6 @@ CFLAGS-$(lock_profile) += -DLOCK_PROFILE
CFLAGS-$(HAS_MEM_ACCESS) += -DHAS_MEM_ACCESS
CFLAGS-$(HAS_MEM_PAGING) += -DHAS_MEM_PAGING
CFLAGS-$(HAS_MEM_SHARING) += -DHAS_MEM_SHARING
CFLAGS-$(HAS_PDX) += -DHAS_PDX
CFLAGS-$(frame_pointer) += -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER
ifneq ($(max_phys_cpus),)
+1
View File
@@ -18,6 +18,7 @@ config ARM
def_bool y
select HAS_DEVICE_TREE
select HAS_PASSTHROUGH
select HAS_PDX
select HAS_VIDEO
config ARCH_DEFCONFIG
-1
View File
@@ -7,7 +7,6 @@
#
HAS_ARM_HDLCD := y
HAS_PDX := y
CFLAGS += -I$(BASEDIR)/include
+1
View File
@@ -10,6 +10,7 @@ config X86
select HAS_NS16550
select HAS_PASSTHROUGH
select HAS_PCI
select HAS_PDX
select HAS_VGA
config ARCH_DEFCONFIG
-1
View File
@@ -4,7 +4,6 @@
HAS_NUMA := y
HAS_EHCI := y
HAS_KEXEC := y
HAS_PDX := y
HAS_CORE_PARKING := y
xenoprof := y
+4
View File
@@ -5,6 +5,10 @@ menu "Common Features"
config HAS_DEVICE_TREE
bool
# Select HAS_PDX if PDX is supported
config HAS_PDX
bool
# Select HAS_GDBSX if GDBSX is supported
config HAS_GDBSX
bool
+1 -1
View File
@@ -23,7 +23,7 @@ obj-y += memory.o
obj-y += multicall.o
obj-y += notifier.o
obj-y += page_alloc.o
obj-$(HAS_PDX) += pdx.o
obj-$(CONFIG_HAS_PDX) += pdx.o
obj-y += preempt.o
obj-y += random.o
obj-y += rangeset.o
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef __XEN_PDX_H__
#define __XEN_PDX_H__
#ifdef HAS_PDX
#ifdef CONFIG_HAS_PDX
extern unsigned long max_pdx;
extern unsigned long pfn_pdx_bottom_mask, ma_va_bottom_mask;
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.