summaryrefslogtreecommitdiffstats
path: root/drivers/lguest/lg.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2007-10-22 03:03:28 +0200
committerRusty Russell <rusty@rustcorp.com.au>2007-10-23 07:49:51 +0200
commit56adbe9ddc935600c64635d6a55c260a63c67e4a (patch)
tree061789e573380943f70c20b2d9e8da4042bac0e6 /drivers/lguest/lg.h
parentRemove fixed limit on number of guests, and lguests array. (diff)
downloadlinux-56adbe9ddc935600c64635d6a55c260a63c67e4a.tar.xz
linux-56adbe9ddc935600c64635d6a55c260a63c67e4a.zip
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;