Skip to contentSkip to conversation

i386: fix incorrect TSS entry for LDT

PATCH New Adrian Bunk 1 participant 1 message Aug 1, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i386: fix incorrect TSS entry for LDT

noticed by Chuck Ebbert: the .ldt entry of the TSS was set up incorrectly. It never mattered since this was a leftover from old times, so remove it.

From: Ingo Molnar <[email protected]>

---

This patch was sent by Ingo Molnar on:
- 1 Jul 2005

include/asm-i386/processor.h +0 -1
@@ -474,7 +474,6 @@ struct thread_struct {
 	.esp0		= sizeof(init_stack) + (long)&init_stack,	\
 	.ss0		= __KERNEL_DS,					\
 	.ss1		= __KERNEL_CS,					\
-	.ldt		= GDT_ENTRY_LDT,				\
 	.io_bitmap_base	= INVALID_IO_BITMAP_OFFSET,			\
 	.io_bitmap	= { [ 0 ... IO_BITMAP_LONGS] = ~0 },		\
 }

k