]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] Re: Boot failure in 2.5.31 BK with new TLS patch
authorIngo Molnar <mingo@elte.hu>
Sat, 17 Aug 2002 05:10:39 +0000 (22:10 -0700)
committerIngo Molnar <mingo@elte.hu>
Sat, 17 Aug 2002 05:10:39 +0000 (22:10 -0700)
oh, setup.S. nasty indeed, bogus GDT limit.

arch/i386/boot/setup.S

index bf07215deb31adf6c2b5cde874aae5672c45bd6c..932c15638a633152bdbaf825f68fa6c4b4bde9b4 100644 (file)
@@ -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)