WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Properly declare ioapic_update_EOI().

# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 00aa8e4609e202b7204563c4a42f8dd8220e07b4
# Parent  312e3f18bd6cfda751b16982524a69bb726b60fa
Properly declare ioapic_update_EOI().

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r 312e3f18bd6c -r 00aa8e4609e2 xen/arch/x86/vmx_vlapic.c
--- a/xen/arch/x86/vmx_vlapic.c Tue Nov 15 10:28:01 2005
+++ b/xen/arch/x86/vmx_vlapic.c Tue Nov 15 10:28:33 2005
@@ -28,7 +28,7 @@
 #include <asm/vmx.h>
 #include <asm/vmx_platform.h>
 #include <asm/vmx_vlapic.h>
-
+#include <asm/vmx_vioapic.h>
 #include <xen/lib.h>
 #include <xen/sched.h>
 #include <asm/current.h>
@@ -322,10 +322,8 @@
     vlapic_clear_isr(vlapic, vector);
     vlapic_update_ppr(vlapic);
 
-    if (test_and_clear_bit(vector, &vlapic->tmr[0])) {
-        extern void ioapic_update_EOI(struct domain *d, int vector);
+    if (test_and_clear_bit(vector, &vlapic->tmr[0]))
         ioapic_update_EOI(vlapic->domain, vector);
-    }
 }
 
 int vlapic_check_vector(struct vlapic *vlapic,
diff -r 312e3f18bd6c -r 00aa8e4609e2 xen/include/asm-x86/vmx_vioapic.h
--- a/xen/include/asm-x86/vmx_vioapic.h Tue Nov 15 10:28:01 2005
+++ b/xen/include/asm-x86/vmx_vioapic.h Tue Nov 15 10:28:33 2005
@@ -114,6 +114,8 @@
 
 int vmx_vioapic_add_lapic(struct vlapic *vlapic, struct vcpu *v);
 
+void ioapic_update_EOI(struct domain *d, int vector);
+
 #ifdef VMX_DOMAIN_SAVE_RESTORE
 void ioapic_save(QEMUFile* f, void* opaque);
 int ioapic_load(QEMUFile* f, void* opaque, int version_id);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Properly declare ioapic_update_EOI()., Xen patchbot -unstable <=