diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-07-08 18:07:14 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-16 05:05:52 -0400 |
commit | 6fcac6d305e8238939e169f4c52e8ec8a552a31f (patch) | |
tree | b973a215938121d42bc586925d9712f205badea0 /arch/x86/xen/enlighten.c | |
parent | d6182fbf04164016cb6540db02eef3d6bdc967c3 (diff) |
xen64: set up syscall and sysenter entrypoints for 64-bit
We set up entrypoints for syscall and sysenter. sysenter is only used
for 32-bit compat processes, whereas syscall can be used in by both 32
and 64-bit processes.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Stephen Tweedie <sct@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/xen/enlighten.c')
-rw-r--r-- | arch/x86/xen/enlighten.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 48f1a7eca8b9..87d36044054d 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -1139,6 +1139,10 @@ static const struct pv_cpu_ops xen_cpu_ops __initdata = { | |||
1139 | 1139 | ||
1140 | .iret = xen_iret, | 1140 | .iret = xen_iret, |
1141 | .irq_enable_sysexit = xen_sysexit, | 1141 | .irq_enable_sysexit = xen_sysexit, |
1142 | #ifdef CONFIG_X86_64 | ||
1143 | .usergs_sysret32 = xen_sysret32, | ||
1144 | .usergs_sysret64 = xen_sysret64, | ||
1145 | #endif | ||
1142 | 1146 | ||
1143 | .load_tr_desc = paravirt_nop, | 1147 | .load_tr_desc = paravirt_nop, |
1144 | .set_ldt = xen_set_ldt, | 1148 | .set_ldt = xen_set_ldt, |