From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: [PATCH] tests: The order of the fields are in reverse one isr stack. Date: Thu, 29 Oct 2009 11:12:57 +0200 Message-ID: <20091029091257.GZ29477@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: avi@redhat.com, mtosatti@redhat.com Return-path: Received: from mx1.redhat.com ([209.132.183.28]:29859 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752911AbZJ2JMy (ORCPT ); Thu, 29 Oct 2009 05:12:54 -0400 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9T9CxxG010114 for ; Thu, 29 Oct 2009 05:12:59 -0400 Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: Signed-off-by: Gleb Natapov 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.