summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-07-08 15:06:28 -0700
committerIngo Molnar <mingo@elte.hu>2008-07-16 10:54:53 +0200
commit360c044eb1b985a9ef29d952276a3e14973bed93 (patch)
tree32d75a22f89cc018115001e832949cf8b3d426e2
parentcbcd79c2e5b496b84845618cef734b4c40736576 (diff)
downloadlinux-3.10-360c044eb1b985a9ef29d952276a3e14973bed93.tar.gz
linux-3.10-360c044eb1b985a9ef29d952276a3e14973bed93.tar.bz2
linux-3.10-360c044eb1b985a9ef29d952276a3e14973bed93.zip
x86_64: adjust exception frame in ia32entry
The 32-bit compat int $0x80 entrypoint needs exception frame adjustment. 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>
-rw-r--r--arch/x86/ia32/ia32entry.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/ia32/ia32entry.S b/arch/x86/ia32/ia32entry.S
index 20371d0635e..0ae1e77eae5 100644
--- a/arch/x86/ia32/ia32entry.S
+++ b/arch/x86/ia32/ia32entry.S
@@ -321,6 +321,7 @@ ENTRY(ia32_syscall)
/*CFI_REL_OFFSET rflags,EFLAGS-RIP*/
/*CFI_REL_OFFSET cs,CS-RIP*/
CFI_REL_OFFSET rip,RIP-RIP
+ PARAVIRT_ADJUST_EXCEPTION_FRAME
SWAPGS
/*
* No need to follow this irqs on/off section: the syscall