Skip to content

Commit

Permalink
[PATCH] i386: fix GDT's number of quadwords in comment
Browse files Browse the repository at this point in the history
Fix comments to represent the true number of quadwords in GDT.

Signed-off-by: Ahmed S. Darwish <[email protected]>
Signed-off-by: Andi Kleen <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
  • Loading branch information
a-darwish authored and Andi Kleen committed May 2, 2007
1 parent 8eb68fa commit 8280c0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/i386/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ ENTRY(boot_gdt_table)
.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
ENTRY(cpu_gdt_table)
Expand All @@ -639,7 +639,7 @@ ENTRY(cpu_gdt_table)

/*
* 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.
*/
.quad 0x00409a000000ffff /* 0x90 32-bit code */
Expand Down

0 comments on commit 8280c0c

Please sign in to comment.