summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/locore.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/i386/i386/locore.S b/i386/i386/locore.S
index 663db43..e8f7740 100644
--- a/i386/i386/locore.S
+++ b/i386/i386/locore.S
@@ -798,7 +798,11 @@ ast_from_interrupt:
* Call kdb, passing it that register save area.
*/
+#ifdef MACH_XEN
+#define RET_OFFSET 8
+#else /* MACH_XEN */
#define RET_OFFSET 16
+#endif /* MACH_XEN */
ENTRY(kdb_kintr)
movl %ebp,%eax /* save caller`s frame pointer */