aboutsummaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/locore.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386/locore.S b/i386/i386/locore.S
index 8314e25a..df41722d 100644
--- a/i386/i386/locore.S
+++ b/i386/i386/locore.S
@@ -592,7 +592,6 @@ trap_from_kernel:
je 1f /* OK if so */
movl %ecx,%edx
-
cmpl CX(EXT(kernel_stack),%edx),%esp
/* already on kernel stack? */
ja 0f
@@ -612,6 +611,7 @@ trap_from_kernel:
call EXT(kernel_trap) /* to kernel trap routine */
addl $4,%esp /* pop parameter */
#endif /* MACH_KDB || MACH_TTD */
+
jmp _return_from_kernel