Commit 4f0cb8d978ab4b6e3b40147f619f48316d9d7f63

Authored by Ingo Molnar
Committed by Linus Torvalds
1 parent c9b02a2413

[PATCH] 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.

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>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

include/asm-i386/processor.h
... ... @@ -475,7 +475,6 @@
475 475 .esp0 = sizeof(init_stack) + (long)&init_stack, \
476 476 .ss0 = __KERNEL_DS, \
477 477 .ss1 = __KERNEL_CS, \
478   - .ldt = GDT_ENTRY_LDT, \
479 478 .io_bitmap_base = INVALID_IO_BITMAP_OFFSET, \
480 479 .io_bitmap = { [ 0 ... IO_BITMAP_LONGS] = ~0 }, \
481 480 }