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/entry_64.S | |
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/entry_64.S')
-rw-r--r-- | arch/x86/kernel/entry_64.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S index 880ffe510a11..70fe13a1c41d 100644 --- a/arch/x86/kernel/entry_64.S +++ b/arch/x86/kernel/entry_64.S | |||
@@ -736,6 +736,7 @@ END(spurious_interrupt) | |||
736 | */ | 736 | */ |
737 | .macro zeroentry sym | 737 | .macro zeroentry sym |
738 | INTR_FRAME | 738 | INTR_FRAME |
739 | PARAVIRT_ADJUST_EXCEPTION_FRAME | ||
739 | pushq $0 /* push error code/oldrax */ | 740 | pushq $0 /* push error code/oldrax */ |
740 | CFI_ADJUST_CFA_OFFSET 8 | 741 | CFI_ADJUST_CFA_OFFSET 8 |
741 | pushq %rax /* push real oldrax to the rdi slot */ | 742 | pushq %rax /* push real oldrax to the rdi slot */ |
@@ -748,6 +749,7 @@ END(spurious_interrupt) | |||
748 | 749 | ||
749 | .macro errorentry sym | 750 | .macro errorentry sym |
750 | XCPT_FRAME | 751 | XCPT_FRAME |
752 | PARAVIRT_ADJUST_EXCEPTION_FRAME | ||
751 | pushq %rax | 753 | pushq %rax |
752 | CFI_ADJUST_CFA_OFFSET 8 | 754 | CFI_ADJUST_CFA_OFFSET 8 |
753 | CFI_REL_OFFSET rax,0 | 755 | CFI_REL_OFFSET rax,0 |