![]() | |||||||||||||
Messages in this thread Patch in this message |
The LDT entry in the i386 TSS needs to be a selector, not an entry number.
Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Index: 2.6.13-rc1/include/asm-i386/processor.h
===================================================================
--- 2.6.13-rc1.orig/include/asm-i386/processor.h 2005-06-30 15:46:17.176906000 -0400
+++ 2.6.13-rc1/include/asm-i386/processor.h 2005-07-01 00:23:38.666906000 -0400
@@ -474,7 +474,7 @@
.esp0 = sizeof(init_stack) + (long)&init_stack, \
.ss0 = __KERNEL_DS, \
.ss1 = __KERNEL_CS, \
- .ldt = GDT_ENTRY_LDT, \
+ .ldt = GDT_ENTRY_LDT * 8, \
.io_bitmap_base = INVALID_IO_BITMAP_OFFSET, \
.io_bitmap = { [ 0 ... IO_BITMAP_LONGS] = ~0 }, \
}
--
Chuck
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
| ||||||||||||
| Last update: 2005-07-01 04:49 [from the cache] ©2003-2008 | |||||||||||||