[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] xen/x86: introduce is_domain_direct_mapped(d) as ((void)(d), 0) on x86
commit 808b34d84544fca0b79985bbefc450ae399dd340 Author: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> AuthorDate: Fri Aug 1 15:45:23 2014 +0100 Commit: Ian Campbell <ian.campbell@xxxxxxxxxx> CommitDate: Tue Sep 9 11:47:08 2014 +0100 xen/x86: introduce is_domain_direct_mapped(d) as ((void)(d), 0) on x86 Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> Acked-by: Jan Beulich <jbeulich@xxxxxxxx> --- xen/common/memory.c | 4 ---- xen/include/asm-x86/domain.h | 1 + 2 files changed, 1 insertions(+), 4 deletions(-) diff --git a/xen/common/memory.c b/xen/common/memory.c index 031672a..2e3225d 100644 --- a/xen/common/memory.c +++ b/xen/common/memory.c @@ -29,10 +29,6 @@ #include <xsm/xsm.h> #include <xen/trace.h> -#ifndef is_domain_direct_mapped -# define is_domain_direct_mapped(d) ((void)(d), 0) -#endif - struct memop_args { /* INPUT */ struct domain *domain; /* Domain to be affected. */ diff --git a/xen/include/asm-x86/domain.h b/xen/include/asm-x86/domain.h index 83329ed..8fc5a45 100644 --- a/xen/include/asm-x86/domain.h +++ b/xen/include/asm-x86/domain.h @@ -19,6 +19,7 @@ #define is_hvm_pv_evtchn_domain(d) (has_hvm_container_domain(d) && \ d->arch.hvm_domain.irq.callback_via_type == HVMIRQ_callback_vector) #define is_hvm_pv_evtchn_vcpu(v) (is_hvm_pv_evtchn_domain(v->domain)) +#define is_domain_direct_mapped(d) ((void)(d), 0) #define VCPU_TRAP_NMI 1 #define VCPU_TRAP_MCE 2 -- 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 |