summaryrefslogtreecommitdiff
path: root/drivers/lguest/lg.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2007-10-22 05:03:28 +0400
committerRusty Russell <rusty@rustcorp.com.au>2007-10-23 09:49:51 +0400
commit56adbe9ddc935600c64635d6a55c260a63c67e4a (patch)
tree061789e573380943f70c20b2d9e8da4042bac0e6 /drivers/lguest/lg.h
parent48245cc0708d49d1d0566b9fa617ad6c5f4c6934 (diff)
downloadlinux-56adbe9ddc935600c64635d6a55c260a63c67e4a.tar.xz
Make shadow IDT a complete IDT with 256 entries.
This simplifies the code a little, in preparation for allowing alternate system call vectors in guests (Plan 9 uses 0x40). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/lguest/lg.h')
-rw-r--r--drivers/lguest/lg.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/lguest/lg.h b/drivers/lguest/lg.h
index c9d1dc29490d..c1ca127ddece 100644
--- a/drivers/lguest/lg.h
+++ b/drivers/lguest/lg.h
@@ -184,8 +184,7 @@ struct lguest
struct desc_struct gdt[GDT_ENTRIES];
/* The IDT entries: some copied into lguest_ro_state when running. */
- struct desc_struct idt[FIRST_EXTERNAL_VECTOR+LGUEST_IRQS];
- struct desc_struct syscall_idt;
+ struct desc_struct idt[IDT_ENTRIES];
/* Virtual clock device */
struct hrtimer hrt;