Skip to content

Commit

Permalink
[PATCH] i386: fix incorrect TSS entry for LDT
Browse files Browse the repository at this point in the history
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.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Sep 5, 2005
1 parent c9b02a2 commit 4f0cb8d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/asm-i386/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,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 }, \
}
Expand Down

0 comments on commit 4f0cb8d

Please sign in to comment.