diff options
Diffstat (limited to 'arch/i386/kernel/cpu/common.c')
-rw-r--r-- | arch/i386/kernel/cpu/common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/i386/kernel/cpu/common.c b/arch/i386/kernel/cpu/common.c index 58128585ae60..7a4c036d93c8 100644 --- a/arch/i386/kernel/cpu/common.c +++ b/arch/i386/kernel/cpu/common.c | |||
@@ -22,7 +22,7 @@ | |||
22 | 22 | ||
23 | #include "cpu.h" | 23 | #include "cpu.h" |
24 | 24 | ||
25 | DEFINE_PER_CPU(struct desc_struct, cpu_gdt[GDT_ENTRIES]) = { | 25 | DEFINE_PER_CPU(struct gdt_page, gdt_page) = { .gdt = { |
26 | [GDT_ENTRY_KERNEL_CS] = { 0x0000ffff, 0x00cf9a00 }, | 26 | [GDT_ENTRY_KERNEL_CS] = { 0x0000ffff, 0x00cf9a00 }, |
27 | [GDT_ENTRY_KERNEL_DS] = { 0x0000ffff, 0x00cf9200 }, | 27 | [GDT_ENTRY_KERNEL_DS] = { 0x0000ffff, 0x00cf9200 }, |
28 | [GDT_ENTRY_DEFAULT_USER_CS] = { 0x0000ffff, 0x00cffa00 }, | 28 | [GDT_ENTRY_DEFAULT_USER_CS] = { 0x0000ffff, 0x00cffa00 }, |
@@ -48,8 +48,8 @@ DEFINE_PER_CPU(struct desc_struct, cpu_gdt[GDT_ENTRIES]) = { | |||
48 | 48 | ||
49 | [GDT_ENTRY_ESPFIX_SS] = { 0x00000000, 0x00c09200 }, | 49 | [GDT_ENTRY_ESPFIX_SS] = { 0x00000000, 0x00c09200 }, |
50 | [GDT_ENTRY_PDA] = { 0x00000000, 0x00c09200 }, /* set in setup_pda */ | 50 | [GDT_ENTRY_PDA] = { 0x00000000, 0x00c09200 }, /* set in setup_pda */ |
51 | }; | 51 | } }; |
52 | EXPORT_PER_CPU_SYMBOL_GPL(cpu_gdt); | 52 | EXPORT_PER_CPU_SYMBOL_GPL(gdt_page); |
53 | 53 | ||
54 | DEFINE_PER_CPU(struct i386_pda, _cpu_pda); | 54 | DEFINE_PER_CPU(struct i386_pda, _cpu_pda); |
55 | EXPORT_PER_CPU_SYMBOL(_cpu_pda); | 55 | EXPORT_PER_CPU_SYMBOL(_cpu_pda); |