summaryrefslogtreecommitdiff
path: root/i386/i386/locore.S
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386/locore.S')
-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 51a65c9..c640191 100644
--- a/i386/i386/locore.S
+++ b/i386/i386/locore.S
@@ -802,7 +802,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 */