diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-06-25 00:19:31 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 07:15:57 -0400 |
commit | fab58420ac0007a452b540cfb07923225ea4f48d (patch) | |
tree | c1a544019f1649bc8b917a27324ceb79ee4a2625 /arch/x86/kernel/paravirt.c | |
parent | a00394f81f419beb6fb9f7023bd4d15913dc625d (diff) |
x86/paravirt, 64-bit: add adjust_exception_frame
64-bit Xen pushes a couple of extra words onto an exception frame.
Add a hook to deal with them.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: xen-devel <xen-devel@lists.xensource.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/kernel/paravirt.c')
-rw-r--r-- | arch/x86/kernel/paravirt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/paravirt.c b/arch/x86/kernel/paravirt.c index bf1067e89cad..b20c369cb89d 100644 --- a/arch/x86/kernel/paravirt.c +++ b/arch/x86/kernel/paravirt.c | |||
@@ -296,6 +296,9 @@ struct pv_irq_ops pv_irq_ops = { | |||
296 | .irq_enable = native_irq_enable, | 296 | .irq_enable = native_irq_enable, |
297 | .safe_halt = native_safe_halt, | 297 | .safe_halt = native_safe_halt, |
298 | .halt = native_halt, | 298 | .halt = native_halt, |
299 | #ifdef CONFIG_X86_64 | ||
300 | .adjust_exception_frame = paravirt_nop, | ||
301 | #endif | ||
299 | }; | 302 | }; |
300 | 303 | ||
301 | struct pv_cpu_ops pv_cpu_ops = { | 304 | struct pv_cpu_ops pv_cpu_ops = { |