aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/setup64.c')
-rw-r--r--arch/x86/kernel/setup64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/setup64.c b/arch/x86/kernel/setup64.c
index 51297cca6b42..05cafcb94109 100644
--- a/arch/x86/kernel/setup64.c
+++ b/arch/x86/kernel/setup64.c
@@ -228,7 +228,7 @@ void __cpuinit cpu_init (void)
228 * and set up the GDT descriptor: 228 * and set up the GDT descriptor:
229 */ 229 */
230 if (cpu) 230 if (cpu)
231 memcpy(cpu_gdt(cpu), cpu_gdt_table, GDT_SIZE); 231 memcpy(get_cpu_gdt_table(cpu), cpu_gdt_table, GDT_SIZE);
232 232
233 cpu_gdt_descr[cpu].size = GDT_SIZE; 233 cpu_gdt_descr[cpu].size = GDT_SIZE;
234 load_gdt((const struct desc_ptr *)&cpu_gdt_descr[cpu]); 234 load_gdt((const struct desc_ptr *)&cpu_gdt_descr[cpu]);