summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/processor.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge2008-06-25 06:19:31 +0200
committerIngo Molnar2008-07-08 13:15:57 +0200
commitfab58420ac0007a452b540cfb07923225ea4f48d (patch)
treec1a544019f1649bc8b917a27324ceb79ee4a2625 /include/asm-x86/processor.h
parentx86, 64-bit: swapgs pvop with a user-stack can never be called (diff)
downloadkernel-qcow2-linux-fab58420ac0007a452b540cfb07923225ea4f48d.tar.gz
kernel-qcow2-linux-fab58420ac0007a452b540cfb07923225ea4f48d.tar.xz
kernel-qcow2-linux-fab58420ac0007a452b540cfb07923225ea4f48d.zip
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 'include/asm-x86/processor.h')
-rw-r--r--include/asm-x86/processor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/processor.h b/include/asm-x86/processor.h
index 12b5ede14c7a..df2459f5ebbb 100644
--- a/include/asm-x86/processor.h
+++ b/include/asm-x86/processor.h
@@ -532,6 +532,8 @@ static inline void load_sp0(struct tss_struct *tss,
#define set_iopl_mask native_set_iopl_mask
#define SWAPGS swapgs
+
+#define PARAVIRT_ADJUST_EXCEPTION_FRAME /* */
#endif /* CONFIG_PARAVIRT */
/*