[PATCH] tests: The order of the fields are in reverse one isr stack.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Gleb Natapov <gleb@xxxxxxxxxx>
diff --git a/kvm/user/test/x86/apic.c b/kvm/user/test/x86/apic.c
index 4e89c77..b6718ec 100644
--- a/kvm/user/test/x86/apic.c
+++ b/kvm/user/test/x86/apic.c
@@ -19,11 +19,11 @@ typedef struct {
 } idt_entry_t;
 
 typedef struct {
-    ulong rflags;
-    ulong cs;
-    ulong rip;
-    ulong func;
     ulong regs[sizeof(ulong)*2];
+    ulong func;
+    ulong rip;
+    ulong cs;
+    ulong rflags;
 } isr_regs_t;
 
 #ifdef __x86_64__
--
			Gleb.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux