diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-01-30 07:31:02 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:31:02 -0500 |
commit | faca62273b602ab482fb7d3d940dbf41ef08b00e (patch) | |
tree | 913fb1c565a2b719b00ae4b745c38cc9b0ebf279 /arch/x86/kernel/cpu/common.c | |
parent | 25149b62d3e6a3e737af39bd4a0b4e97de0811b7 (diff) |
x86: use generic register name in the thread and tss structures
This changes size-specific register names (eip/rip, esp/rsp, etc.) to
generic names in the thread and tss structures.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
-rw-r--r-- | arch/x86/kernel/cpu/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index 5db2a163bf4b..235cd615b89d 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c | |||
@@ -691,7 +691,7 @@ void __cpuinit cpu_init(void) | |||
691 | BUG(); | 691 | BUG(); |
692 | enter_lazy_tlb(&init_mm, curr); | 692 | enter_lazy_tlb(&init_mm, curr); |
693 | 693 | ||
694 | load_esp0(t, thread); | 694 | load_sp0(t, thread); |
695 | set_tss_desc(cpu,t); | 695 | set_tss_desc(cpu,t); |
696 | load_TR_desc(); | 696 | load_TR_desc(); |
697 | load_LDT(&init_mm.context); | 697 | load_LDT(&init_mm.context); |