[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH]Fix vlapic.h type
The following patch fixes a typo in vlapic_domain inside vlapic.h. I also found an related error in vlapic.c file, which is fixed by this patch too. Signed-off-by: Wei Huang <wei.huang2@xxxxxxx> diff -r d768628c28a4 xen/arch/x86/hvm/vlapic.c --- a/xen/arch/x86/hvm/vlapic.c Mon Jul 06 11:58:02 2009 +0100 +++ b/xen/arch/x86/hvm/vlapic.c Tue Jul 07 16:16:18 2009 -0500 @@ -460,7 +460,7 @@ int vlapic_ipi( if ( delivery_mode == APIC_DM_LOWEST ) { - target = apic_lowest_prio(vlapic_domain(v), lpr_map); + target = apic_lowest_prio(vlapic_domain(vlapic), lpr_map); if ( target != NULL ) rc = vlapic_accept_irq(vlapic_vcpu(target), delivery_mode, vector, level, trig_mode); diff -r d768628c28a4 xen/include/asm-x86/hvm/vlapic.h --- a/xen/include/asm-x86/hvm/vlapic.h Mon Jul 06 11:58:02 2009 +0100 +++ b/xen/include/asm-x86/hvm/vlapic.h Tue Jul 07 16:16:18 2009 -0500 @@ -31,7 +31,7 @@ #define vcpu_vlapic(vcpu) (&(vcpu)->arch.hvm_vcpu.vlapic) #define vlapic_vcpu(vpic) (container_of((vpic), struct vcpu, \ arch.hvm_vcpu.vlapic)) -#define vlapic_domain(vpic) (vlapic_vcpu(vlapic)->domain) +#define vlapic_domain(vlapic) (vlapic_vcpu(vlapic)->domain) #define VLAPIC_ID(vlapic) \ (GET_xAPIC_ID(vlapic_get_reg((vlapic), APIC_ID))) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |