Commit 8280c0c5 authored by Ahmed S. Darwish's avatar Ahmed S. Darwish Committed by Andi Kleen

[PATCH] i386: fix GDT's number of quadwords in comment

Fix comments to represent the true number of quadwords in GDT.
Signed-off-by: default avatarAhmed S. Darwish <darwish.07@gmail.com>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Acked-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 8eb68fae
...@@ -612,7 +612,7 @@ ENTRY(boot_gdt_table) ...@@ -612,7 +612,7 @@ ENTRY(boot_gdt_table)
.quad 0x00cf92000000ffff /* kernel 4GB data at 0x00000000 */ .quad 0x00cf92000000ffff /* kernel 4GB data at 0x00000000 */
/* /*
* The Global Descriptor Table contains 28 quadwords, per-CPU. * The Global Descriptor Table contains 32 quadwords, per-CPU.
*/ */
.align L1_CACHE_BYTES .align L1_CACHE_BYTES
ENTRY(cpu_gdt_table) ENTRY(cpu_gdt_table)
...@@ -639,7 +639,7 @@ ENTRY(cpu_gdt_table) ...@@ -639,7 +639,7 @@ ENTRY(cpu_gdt_table)
/* /*
* Segments used for calling PnP BIOS have byte granularity. * Segments used for calling PnP BIOS have byte granularity.
* They code segments and data segments have fixed 64k limits, * The code segments and data segments have fixed 64k limits,
* the transfer segment sizes are set at run time. * the transfer segment sizes are set at run time.
*/ */
.quad 0x00409a000000ffff /* 0x90 32-bit code */ .quad 0x00409a000000ffff /* 0x90 32-bit code */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment