public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@redhat.com>
To: avi@redhat.com
Cc: kwolf@redhat.com, kvm@vger.kernel.org
Subject: [PATCH kvm-unit-tests 3/4] Fix i386 build
Date: Mon, 23 Jan 2012 17:07:12 +0100	[thread overview]
Message-ID: <1327334833-31650-4-git-send-email-kwolf@redhat.com> (raw)
In-Reply-To: <1327334833-31650-1-git-send-email-kwolf@redhat.com>

Commit 1d946e07 removed idt, but left a reference to idt in i386-only
code.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
---
 lib/x86/desc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/x86/desc.c b/lib/x86/desc.c
index c268955..770c250 100644
--- a/lib/x86/desc.c
+++ b/lib/x86/desc.c
@@ -329,7 +329,7 @@ void setup_gdt(void)
 
 static void set_idt_task_gate(int vec, u16 sel)
 {
-    idt_entry_t *e = &idt[vec];
+    idt_entry_t *e = &boot_idt[vec];
 
     memset(e, 0, sizeof *e);
 
-- 
1.7.6.5


  parent reply	other threads:[~2012-01-23 16:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-23 16:07 [PATCH kvm-unit-tests 0/4] VM86 testcase and run_tests.sh Kevin Wolf
2012-01-23 16:07 ` [PATCH kvm-unit-tests 1/4] Add run_tests.sh Kevin Wolf
2012-01-23 16:07 ` [PATCH kvm-unit-tests 2/4] Add taskswitch testcases to unittest.cfg Kevin Wolf
2012-01-23 16:07 ` Kevin Wolf [this message]
2012-01-24  9:51   ` [PATCH kvm-unit-tests 3/4] Fix i386 build Takuya Yoshikawa
2012-01-24  9:58     ` Kevin Wolf
2012-01-23 16:07 ` [PATCH kvm-unit-tests 4/4] x86/taskswitch_vm86: Task switches into/out of VM86 Kevin Wolf
2012-01-23 16:10   ` Gleb Natapov
2012-01-23 16:20     ` Kevin Wolf
2012-01-23 16:22       ` Gleb Natapov
2012-01-23 16:32         ` Kevin Wolf
2012-01-23 16:42           ` Gleb Natapov
2012-01-24 10:14             ` Kevin Wolf
2012-01-24 10:26               ` Gleb Natapov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1327334833-31650-4-git-send-email-kwolf@redhat.com \
    --to=kwolf@redhat.com \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox