aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed S. Darwish <darwish.07@gmail.com>2007-05-02 13:27:09 -0400
committerAndi Kleen <andi@basil.nowhere.org>2007-05-02 13:27:09 -0400
commit8280c0c58e9762a9fe29d550a9db81410de77691 (patch)
treea706344e6330b1de008fae8541dd5b1a1b7b8fcd
parent8eb68faed9e077c45c2bab5fce7c4e371fe9c28f (diff)
[PATCH] i386: fix GDT's number of quadwords in comment
Fix comments to represent the true number of quadwords in GDT. Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com> Signed-off-by: Andi Kleen <ak@suse.de> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r--arch/i386/kernel/head.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/head.S b/arch/i386/kernel/head.S
index 3fa7f9389afe..cb185f40c282 100644
--- a/arch/i386/kernel/head.S
+++ b/arch/i386/kernel/head.S
@@ -612,7 +612,7 @@ ENTRY(boot_gdt_table)
612 .quad 0x00cf92000000ffff /* kernel 4GB data at 0x00000000 */ 612 .quad 0x00cf92000000ffff /* kernel 4GB data at 0x00000000 */
613 613
614/* 614/*
615 * The Global Descriptor Table contains 28 quadwords, per-CPU. 615 * The Global Descriptor Table contains 32 quadwords, per-CPU.
616 */ 616 */
617 .align L1_CACHE_BYTES 617 .align L1_CACHE_BYTES
618ENTRY(cpu_gdt_table) 618ENTRY(cpu_gdt_table)
@@ -639,7 +639,7 @@ ENTRY(cpu_gdt_table)
639 639
640 /* 640 /*
641 * Segments used for calling PnP BIOS have byte granularity. 641 * Segments used for calling PnP BIOS have byte granularity.
642 * They code segments and data segments have fixed 64k limits, 642 * The code segments and data segments have fixed 64k limits,
643 * the transfer segment sizes are set at run time. 643 * the transfer segment sizes are set at run time.
644 */ 644 */
645 .quad 0x00409a000000ffff /* 0x90 32-bit code */ 645 .quad 0x00409a000000ffff /* 0x90 32-bit code */