summaryrefslogtreecommitdiff
path: root/trapasm.S
diff options
context:
space:
mode:
Diffstat (limited to 'trapasm.S')
-rw-r--r--trapasm.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/trapasm.S b/trapasm.S
index 4ae023d..4494642 100644
--- a/trapasm.S
+++ b/trapasm.S
@@ -22,9 +22,10 @@ alltraps:
* expects ESP to point to a Trapframe
*/
trapret:
- push $kernel_lock
+ pushl $kernel_lock
call release_spinlock
- addl $4, %esp
+ addl $0x4, %esp
+
popal
popl %es
popl %ds