All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] i386: fix incorrect TSS entry for LDT
@ 2005-08-01 21:53 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2005-08-01 21:53 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Chuck Ebbert, Ingo Molnar, linux-kernel

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 <mingo@elte.hu>

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

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

--- linux.orig/include/asm-i386/processor.h
+++ linux/include/asm-i386/processor.h
@@ -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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-01 21:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-01 21:53 [2.6 patch] i386: fix incorrect TSS entry for LDT Adrian Bunk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.