diff options
Diffstat (limited to 'i386/i386/ldt.c')
-rw-r--r-- | i386/i386/ldt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/i386/i386/ldt.c b/i386/i386/ldt.c index 0250ee26..261df93a 100644 --- a/i386/i386/ldt.c +++ b/i386/i386/ldt.c @@ -53,12 +53,12 @@ ldt_init(void) #endif /* MACH_PV_PAGETABLES */ #else /* MACH_PV_DESCRIPTORS */ /* Initialize the master LDT descriptor in the GDT. */ - fill_gdt_descriptor(KERNEL_LDT, - kvtolin(&ldt), sizeof(ldt)-1, - ACC_PL_K|ACC_LDT, 0); + fill_gdt_sys_descriptor(KERNEL_LDT, + kvtolin(&ldt), sizeof(ldt)-1, + ACC_PL_K|ACC_LDT, 0); #endif /* MACH_PV_DESCRIPTORS */ - /* Initialize the LDT descriptors. */ + /* Initialize the 32bit LDT descriptors. */ fill_ldt_gate(USER_SCALL, (vm_offset_t)&syscall, KERNEL_CS, ACC_PL_U|ACC_CALL_GATE, 0); |