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

Signed-off-by: Kevin Wolf <kw...@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

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to