From 56adbe9ddc935600c64635d6a55c260a63c67e4a Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 22 Oct 2007 11:03:28 +1000 Subject: 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 --- drivers/lguest/lg.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'drivers/lguest/lg.h') diff --git a/drivers/lguest/lg.h b/drivers/lguest/lg.h index c9d1dc2..c1ca127 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; -- cgit v1.1