aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xen/arch/i386/entry.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/arch/i386/entry.S b/xen/arch/i386/entry.S
index 1d55a51617..758848a67c 100644
--- a/xen/arch/i386/entry.S
+++ b/xen/arch/i386/entry.S
@@ -545,6 +545,7 @@ error_code:
# worst that will happen is that our return code is no longer atomic.
# This will do -- noone will ever notice. :-)
sti
+ movl %esp,%edx
pushl %esi # push the error code
pushl %edx # push the pt_regs pointer
GET_CURRENT(%ebx)