* [PATCH] intr.c: remove i386 related code
@ 2012-12-12 1:35 Dongxiao Xu
0 siblings, 0 replies; only message in thread
From: Dongxiao Xu @ 2012-12-12 1:35 UTC (permalink / raw)
To: xen-devel
i386 arch is no longer supported by Xen, remove the related code.
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-12-12 1:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-12 1:35 [PATCH] intr.c: remove i386 related code Dongxiao Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).