aboutsummaryrefslogtreecommitdiff
path: root/drivers/lguest/lg.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2007-10-22 11:03:28 +1000
committerRusty Russell <rusty@rustcorp.com.au>2007-10-23 15:49:51 +1000
commit56adbe9ddc935600c64635d6a55c260a63c67e4a (patch)
tree061789e573380943f70c20b2d9e8da4042bac0e6 /drivers/lguest/lg.h
parent48245cc0708d49d1d0566b9fa617ad6c5f4c6934 (diff)
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 c9d1dc29490..c1ca127ddec 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;