summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/processor.h
diff options
context:
space:
mode:
authorIngo Molnar2005-09-04 00:56:41 +0200
committerLinus Torvalds2005-09-05 09:06:12 +0200
commit4f0cb8d978ab4b6e3b40147f619f48316d9d7f63 (patch)
tree61be59b09245235862d3f1d932a06b0a28ecbf59 /include/asm-i386/processor.h
parent[PATCH] i386: use set_pte macros in a couple places where they were missing (diff)
downloadkernel-qcow2-linux-4f0cb8d978ab4b6e3b40147f619f48316d9d7f63.tar.gz
kernel-qcow2-linux-4f0cb8d978ab4b6e3b40147f619f48316d9d7f63.tar.xz
kernel-qcow2-linux-4f0cb8d978ab4b6e3b40147f619f48316d9d7f63.zip
[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>
Diffstat (limited to 'include/asm-i386/processor.h')
-rw-r--r--include/asm-i386/processor.h1
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 {
.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 }, \
}