ia64/xen-unstable

changeset 7815:00aa8e4609e2

Properly declare ioapic_update_EOI().

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Tue Nov 15 11:28:33 2005 +0100 (2005-11-15)
parents 312e3f18bd6c
children 3864566bc833
files xen/arch/x86/vmx_vlapic.c xen/include/asm-x86/vmx_vioapic.h
line diff
     1.1 --- a/xen/arch/x86/vmx_vlapic.c	Tue Nov 15 11:28:01 2005 +0100
     1.2 +++ b/xen/arch/x86/vmx_vlapic.c	Tue Nov 15 11:28:33 2005 +0100
     1.3 @@ -28,7 +28,7 @@
     1.4  #include <asm/vmx.h>
     1.5  #include <asm/vmx_platform.h>
     1.6  #include <asm/vmx_vlapic.h>
     1.7 -
     1.8 +#include <asm/vmx_vioapic.h>
     1.9  #include <xen/lib.h>
    1.10  #include <xen/sched.h>
    1.11  #include <asm/current.h>
    1.12 @@ -322,10 +322,8 @@ vlapic_EOI_set(struct vlapic *vlapic)
    1.13      vlapic_clear_isr(vlapic, vector);
    1.14      vlapic_update_ppr(vlapic);
    1.15  
    1.16 -    if (test_and_clear_bit(vector, &vlapic->tmr[0])) {
    1.17 -        extern void ioapic_update_EOI(struct domain *d, int vector);
    1.18 +    if (test_and_clear_bit(vector, &vlapic->tmr[0]))
    1.19          ioapic_update_EOI(vlapic->domain, vector);
    1.20 -    }
    1.21  }
    1.22  
    1.23  int vlapic_check_vector(struct vlapic *vlapic,
     2.1 --- a/xen/include/asm-x86/vmx_vioapic.h	Tue Nov 15 11:28:01 2005 +0100
     2.2 +++ b/xen/include/asm-x86/vmx_vioapic.h	Tue Nov 15 11:28:33 2005 +0100
     2.3 @@ -114,6 +114,8 @@ void vmx_vioapic_set_irq(struct domain *
     2.4  
     2.5  int vmx_vioapic_add_lapic(struct vlapic *vlapic, struct vcpu *v);
     2.6  
     2.7 +void ioapic_update_EOI(struct domain *d, int vector);
     2.8 +
     2.9  #ifdef VMX_DOMAIN_SAVE_RESTORE
    2.10  void ioapic_save(QEMUFile* f, void* opaque);
    2.11  int ioapic_load(QEMUFile* f, void* opaque, int version_id);