aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/suspend_64.c
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-01-30 07:31:12 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:31:12 -0500
commitf6dc247cac1a8ee64e59019c3b948d23f3b1a36f (patch)
tree9aeb7ce4ef3fb8aceaa8aa52da483f14d70cf3cf /arch/x86/kernel/suspend_64.c
parent6b68f01baa810e9f63fbf39e9d5c3ef1d94a966f (diff)
x86: change gdt acessor macro name
This patch changes the name of x86_64 macro used to access the per-cpu gdt. It is now equal to the i386 version, which will allow code to be shared. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/suspend_64.c')
-rw-r--r--arch/x86/kernel/suspend_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/suspend_64.c b/arch/x86/kernel/suspend_64.c
index 569f1b540e3..279c25775d1 100644
--- a/arch/x86/kernel/suspend_64.c
+++ b/arch/x86/kernel/suspend_64.c
@@ -140,7 +140,7 @@ void fix_processor_context(void)
140 140
141 set_tss_desc(cpu,t); /* This just modifies memory; should not be necessary. But... This is necessary, because 386 hardware has concept of busy TSS or some similar stupidity. */ 141 set_tss_desc(cpu,t); /* This just modifies memory; should not be necessary. But... This is necessary, because 386 hardware has concept of busy TSS or some similar stupidity. */
142 142
143 cpu_gdt(cpu)[GDT_ENTRY_TSS].type = 9; 143 get_cpu_gdt_table(cpu)[GDT_ENTRY_TSS].type = 9;
144 144
145 syscall_init(); /* This sets MSR_*STAR and related */ 145 syscall_init(); /* This sets MSR_*STAR and related */
146 load_TR_desc(); /* This does ltr */ 146 load_TR_desc(); /* This does ltr */