[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86: fix macro names typo in VMSI code (GLFAGS->GFLAGS)
# HG changeset patch # User Wei Liu <liuw@xxxxxxxxx> # Date 1306394460 -3600 # Node ID 08a17b468c17084e4765bb0f330c0c71f50902b8 # Parent f979a1a69fe3cd0f14a26bbd40e50fe29c95e339 x86: fix macro names typo in VMSI code (GLFAGS->GFLAGS) Signed-off-by: Wei Liu <liuw@xxxxxxxxx> --- diff -r f979a1a69fe3 -r 08a17b468c17 xen/arch/x86/hvm/vmsi.c --- a/xen/arch/x86/hvm/vmsi.c Thu May 26 08:18:44 2011 +0100 +++ b/xen/arch/x86/hvm/vmsi.c Thu May 26 08:21:00 2011 +0100 @@ -72,8 +72,8 @@ int vector = hvm_irq_dpci->mirq[pirq].gmsi.gvec; uint8_t dest = (uint8_t)flags; uint8_t dest_mode = !!(flags & VMSI_DM_MASK); - uint8_t delivery_mode = (flags & VMSI_DELIV_MASK) >> GLFAGS_SHIFT_DELIV_MODE; - uint8_t trig_mode = (flags & VMSI_TRIG_MODE) >> GLFAGS_SHIFT_TRG_MODE; + uint8_t delivery_mode = (flags & VMSI_DELIV_MASK) >> GFLAGS_SHIFT_DELIV_MODE; + uint8_t trig_mode = (flags & VMSI_TRIG_MODE) >> GFLAGS_SHIFT_TRG_MODE; struct vlapic *target; struct vcpu *v; diff -r f979a1a69fe3 -r 08a17b468c17 xen/include/xen/hvm/irq.h --- a/xen/include/xen/hvm/irq.h Thu May 26 08:18:44 2011 +0100 +++ b/xen/include/xen/hvm/irq.h Thu May 26 08:21:00 2011 +0100 @@ -54,8 +54,8 @@ #define VMSI_TRIG_MODE 0x8000 #define GFLAGS_SHIFT_RH 8 -#define GLFAGS_SHIFT_DELIV_MODE 12 -#define GLFAGS_SHIFT_TRG_MODE 15 +#define GFLAGS_SHIFT_DELIV_MODE 12 +#define GFLAGS_SHIFT_TRG_MODE 15 struct hvm_gmsi_info { uint32_t gvec; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |