summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2002-08-16 22:10:39 -0700
committerIngo Molnar <mingo@elte.hu>2002-08-16 22:10:39 -0700
commit5d6df147a4bbb0777673be324d7918c7658670f9 (patch)
tree1f2f88c56db43b658a75c056fc47bfa21123925d
parent283522acea308904be3b91df434dc85ed6ec8266 (diff)
[PATCH] Re: Boot failure in 2.5.31 BK with new TLS patch
oh, setup.S. nasty indeed, bogus GDT limit.
-rw-r--r--arch/i386/boot/setup.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/i386/boot/setup.S b/arch/i386/boot/setup.S
index bf07215deb31..932c15638a63 100644
--- a/arch/i386/boot/setup.S
+++ b/arch/i386/boot/setup.S
@@ -1029,8 +1029,7 @@ idt_48:
.word 0 # idt limit = 0
.word 0, 0 # idt base = 0L
gdt_48:
- .word 0x8000 # gdt limit=2048,
- # 256 GDT entries
+ .word GDT_ENTRY_KERNEL_CS*8 + 16 - 1 # gdt limit
.word 0, 0 # gdt base (filled in later)