[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] intr.c: remove i386 related code



i386 arch is no longer supported by Xen, remove the related code.

Signed-off-by: Dongxiao Xu <dongxiao.xu@xxxxxxxxx>
---
 xen/arch/x86/hvm/vmx/intr.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/xen/arch/x86/hvm/vmx/intr.c b/xen/arch/x86/hvm/vmx/intr.c
index ef8b925..535248a 100644
--- a/xen/arch/x86/hvm/vmx/intr.c
+++ b/xen/arch/x86/hvm/vmx/intr.c
@@ -295,16 +295,9 @@ void vmx_intr_assist(void)
                     intack.vector;
         __vmwrite(GUEST_INTR_STATUS, status);
         if (v->arch.hvm_vmx.eoi_exitmap_changed) {
-#ifdef __i386__
-#define UPDATE_EOI_EXITMAP(v, e) {                             \
-        if (test_and_clear_bit(e, &v->arch.hvm_vmx.eoi_exitmap_changed)) {     
 \
-                __vmwrite(EOI_EXIT_BITMAP##e, 
v->arch.hvm_vmx.eoi_exit_bitmap[e]);    \
-                __vmwrite(EOI_EXIT_BITMAP##e##_HIGH, 
v.arch.hvm_vmx.eoi_exit_bitmap[e] >> 32);}}
-#else
 #define UPDATE_EOI_EXITMAP(v, e) {                             \
         if (test_and_clear_bit(e, &v->arch.hvm_vmx.eoi_exitmap_changed)) {     
 \
                 __vmwrite(EOI_EXIT_BITMAP##e, 
v->arch.hvm_vmx.eoi_exit_bitmap[e]);}}
-#endif
                 UPDATE_EOI_EXITMAP(v, 0);
                 UPDATE_EOI_EXITMAP(v, 1);
                 UPDATE_EOI_EXITMAP(v, 2);
-- 
1.7.1


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.