diff options
author | Ingo Molnar <mingo@elte.hu> | 2005-09-03 18:56:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-05 03:06:12 -0400 |
commit | 4f0cb8d978ab4b6e3b40147f619f48316d9d7f63 (patch) | |
tree | 61be59b09245235862d3f1d932a06b0a28ecbf59 | |
parent | c9b02a24130e3ff14a553d966a79f46cf806b037 (diff) |
[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>
-rw-r--r-- | include/asm-i386/processor.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-i386/processor.h b/include/asm-i386/processor.h index a0489b222702..992224bff549 100644 --- a/include/asm-i386/processor.h +++ b/include/asm-i386/processor.h | |||
@@ -475,7 +475,6 @@ struct thread_struct { | |||
475 | .esp0 = sizeof(init_stack) + (long)&init_stack, \ | 475 | .esp0 = sizeof(init_stack) + (long)&init_stack, \ |
476 | .ss0 = __KERNEL_DS, \ | 476 | .ss0 = __KERNEL_DS, \ |
477 | .ss1 = __KERNEL_CS, \ | 477 | .ss1 = __KERNEL_CS, \ |
478 | .ldt = GDT_ENTRY_LDT, \ | ||
479 | .io_bitmap_base = INVALID_IO_BITMAP_OFFSET, \ | 478 | .io_bitmap_base = INVALID_IO_BITMAP_OFFSET, \ |
480 | .io_bitmap = { [ 0 ... IO_BITMAP_LONGS] = ~0 }, \ | 479 | .io_bitmap = { [ 0 ... IO_BITMAP_LONGS] = ~0 }, \ |
481 | } | 480 | } |