From: Ingo Molnar Date: Sat, 3 Sep 2005 22:56:41 +0000 (-0700) Subject: [PATCH] i386: fix incorrect TSS entry for LDT X-Git-Tag: v2.6.14-rc1~851 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4f0cb8d978ab4b6e3b40147f619f48316d9d7f63;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/asm-i386/processor.h b/include/asm-i386/processor.h index a0489b22270..992224bff54 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 }, \ }