[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] build: convert HAS_GDBSX use to Kconfig
commit 9ad19015ceace2e01607a4660627a58d1e9ed937 Author: Doug Goldstein <cardoe@xxxxxxxxxx> AuthorDate: Tue Dec 15 14:14:00 2015 +0100 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Wed Dec 16 17:48:51 2015 +0100 build: convert HAS_GDBSX use to Kconfig Use the Kconfig generated CONFIG_HAS_GDBSX defines in the code base. Signed-off-by: Doug Goldstein <cardoe@xxxxxxxxxx> Acked-by: Jan Beulich <jbeulich@xxxxxxxx> --- xen/Rules.mk | 1 - xen/arch/x86/Kconfig | 1 + xen/arch/x86/Rules.mk | 1 - xen/common/Kconfig | 4 ++++ xen/common/domain.c | 2 +- 5 files changed, 6 insertions(+), 3 deletions(-) diff --git a/xen/Rules.mk b/xen/Rules.mk index 09783e7..f572c0d 100644 --- a/xen/Rules.mk +++ b/xen/Rules.mk @@ -56,7 +56,6 @@ CFLAGS-$(crash_debug) += -DCRASH_DEBUG CFLAGS-$(perfc) += -DPERF_COUNTERS CFLAGS-$(perfc_arrays) += -DPERF_ARRAYS CFLAGS-$(lock_profile) += -DLOCK_PROFILE -CFLAGS-$(HAS_GDBSX) += -DHAS_GDBSX CFLAGS-$(HAS_MEM_ACCESS) += -DHAS_MEM_ACCESS CFLAGS-$(HAS_MEM_PAGING) += -DHAS_MEM_PAGING CFLAGS-$(HAS_MEM_SHARING) += -DHAS_MEM_SHARING diff --git a/xen/arch/x86/Kconfig b/xen/arch/x86/Kconfig index d04ab05..12780f9 100644 --- a/xen/arch/x86/Kconfig +++ b/xen/arch/x86/Kconfig @@ -5,6 +5,7 @@ config X86 def_bool y select HAS_ACPI select HAS_CPUFREQ + select HAS_GDBSX select HAS_IOPORTS select HAS_NS16550 select HAS_PASSTHROUGH diff --git a/xen/arch/x86/Rules.mk b/xen/arch/x86/Rules.mk index c09757a..88c47ab 100644 --- a/xen/arch/x86/Rules.mk +++ b/xen/arch/x86/Rules.mk @@ -4,7 +4,6 @@ HAS_NUMA := y HAS_EHCI := y HAS_KEXEC := y -HAS_GDBSX := y HAS_PDX := y HAS_CORE_PARKING := y xenoprof := y diff --git a/xen/common/Kconfig b/xen/common/Kconfig index ea04d11..75edd45 100644 --- a/xen/common/Kconfig +++ b/xen/common/Kconfig @@ -5,6 +5,10 @@ menu "Common Features" config HAS_DEVICE_TREE bool +# Select HAS_GDBSX if GDBSX is supported +config HAS_GDBSX + bool + config HAS_IOPORTS bool diff --git a/xen/common/domain.c b/xen/common/domain.c index c4661d8..1017efb 100644 --- a/xen/common/domain.c +++ b/xen/common/domain.c @@ -772,7 +772,7 @@ void vcpu_end_shutdown_deferral(struct vcpu *v) vcpu_check_shutdown(v); } -#ifdef HAS_GDBSX +#ifdef CONFIG_HAS_GDBSX void domain_pause_for_debugger(void) { struct vcpu *curr = current; -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |