aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/head.S
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2007-05-02 13:27:15 -0400
committerAndi Kleen <andi@basil.nowhere.org>2007-05-02 13:27:15 -0400
commit7a61d35d4b4056e7711031202da7605e052f4137 (patch)
tree4b21e0d541d0a189c2f9f16f53eb6489f07c5a84 /arch/i386/kernel/head.S
parent39b7ee06859b07ca5fd4fabb44c4600316532574 (diff)
[PATCH] i386: Page-align the GDT
Xen wants a dedicated page for the GDT. I believe VMI likes it too. lguest, KVM and native don't care. Simple transformation to page-aligned "struct gdt_page". Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andi Kleen <ak@suse.de> Acked-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Diffstat (limited to 'arch/i386/kernel/head.S')
-rw-r--r--arch/i386/kernel/head.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/head.S b/arch/i386/kernel/head.S
index cc46494787e8..bb36c24311b4 100644
--- a/arch/i386/kernel/head.S
+++ b/arch/i386/kernel/head.S
@@ -598,7 +598,7 @@ idt_descr:
598 .word 0 # 32 bit align gdt_desc.address 598 .word 0 # 32 bit align gdt_desc.address
599ENTRY(early_gdt_descr) 599ENTRY(early_gdt_descr)
600 .word GDT_ENTRIES*8-1 600 .word GDT_ENTRIES*8-1
601 .long per_cpu__cpu_gdt /* Overwritten for secondary CPUs */ 601 .long per_cpu__gdt_page /* Overwritten for secondary CPUs */
602 602
603/* 603/*
604 * The boot_gdt must mirror the equivalent in setup.S and is 604 * The boot_gdt must mirror the equivalent in setup.S and is