Duh.
Instead of reverting the ldt changes that are definitely needed for
correct operation of some other things, how about this one-liner addition
to arch/i386/kernel/ldt.c instead?
I missed one place where the LDT descriptor was initialized..
(This must also have broken wabi/wine completely, not just dosemu)
Linus
-----
--- v2.1.120/linux/arch/i386/kernel/ldt.c Tue Aug 18 22:02:02 1998
+++ linux/arch/i386/kernel/ldt.c Sat Sep 5 16:46:23 1998
@@ -82,6 +82,7 @@
int i = current->tarray_ptr - &task[0];
mm->segments = ldt;
set_ldt_desc(gdt+(i<<1)+FIRST_LDT_ENTRY, ldt, LDT_ENTRIES);
+ current->tss.ldt = _LDT(i);
load_ldt(i);
if (atomic_read(&mm->count) > 1)
printk(KERN_WARNING
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/faq.html