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/xen/enlighten.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/xen/enlighten.c')
-rw-r--r-- | arch/x86/xen/enlighten.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 29517faaa735..d81e8d709102 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -499,11 +499,11 @@ static void xen_write_gdt_entry(struct desc_struct *dt, int entry, | |||
499 | preempt_enable(); | 499 | preempt_enable(); |
500 | } | 500 | } |
501 | 501 | ||
502 | static void xen_load_esp0(struct tss_struct *tss, | 502 | static void xen_load_sp0(struct tss_struct *tss, |
503 | struct thread_struct *thread) | 503 | struct thread_struct *thread) |
504 | { | 504 | { |
505 | struct multicall_space mcs = xen_mc_entry(0); | 505 | struct multicall_space mcs = xen_mc_entry(0); |
506 | MULTI_stack_switch(mcs.mc, __KERNEL_DS, thread->esp0); | 506 | MULTI_stack_switch(mcs.mc, __KERNEL_DS, thread->sp0); |
507 | xen_mc_issue(PARAVIRT_LAZY_CPU); | 507 | xen_mc_issue(PARAVIRT_LAZY_CPU); |
508 | } | 508 | } |
509 | 509 | ||
@@ -968,7 +968,7 @@ static const struct pv_cpu_ops xen_cpu_ops __initdata = { | |||
968 | .write_ldt_entry = xen_write_ldt_entry, | 968 | .write_ldt_entry = xen_write_ldt_entry, |
969 | .write_gdt_entry = xen_write_gdt_entry, | 969 | .write_gdt_entry = xen_write_gdt_entry, |
970 | .write_idt_entry = xen_write_idt_entry, | 970 | .write_idt_entry = xen_write_idt_entry, |
971 | .load_esp0 = xen_load_esp0, | 971 | .load_sp0 = xen_load_sp0, |
972 | 972 | ||
973 | .set_iopl_mask = xen_set_iopl_mask, | 973 | .set_iopl_mask = xen_set_iopl_mask, |
974 | .io_delay = xen_io_delay, | 974 | .io_delay = xen_io_delay, |