From: Rusty Russell I'll just leave the comment, and try to pretend this never happened 8) Signed-off-by: Rusty Russell Cc: Andi Kleen Signed-off-by: Andrew Morton --- arch/i386/kernel/head.S | 4 ++++ 1 file changed, 4 insertions(+) diff -puN arch/i386/kernel/head.S~i386-gdt-cleanups-use-per-cpu-gdt-immediately-upon-boot-fix arch/i386/kernel/head.S --- a/arch/i386/kernel/head.S~i386-gdt-cleanups-use-per-cpu-gdt-immediately-upon-boot-fix +++ a/arch/i386/kernel/head.S @@ -601,6 +601,10 @@ ENTRY(early_gdt_descr) .word GDT_ENTRIES*8-1 .long per_cpu__cpu_gdt /* Overwritten for secondary CPUs */ +/* + * The boot_gdt_table must mirror the equivalent in setup.S and is + * used only for booting. + */ .align L1_CACHE_BYTES ENTRY(boot_gdt_table) .fill GDT_ENTRY_BOOT_CS,8,0 _