summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-09-23 06:30:10 +0000
committerRoland McGrath <roland@gnu.org>1995-09-23 06:30:10 +0000
commitffbdff49c5cddffd1877114f44d3021ff870489b (patch)
treef693b048634fa745b3bda03182ad37e4ad69c8ee /boot
parent8b20f78a4fe6c446d6fed1b2874cea40bba521cc (diff)
Restore entry SP before return.
Diffstat (limited to 'boot')
-rw-r--r--boot/syscall.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/syscall.S b/boot/syscall.S
index 92912186..a04ab28d 100644
--- a/boot/syscall.S
+++ b/boot/syscall.S
@@ -26,6 +26,7 @@ ENTRY(syscall)
pop %eax
push %ecx
lcall $7, $0
+ push %ecx /* Restore stack position. */
jb error
ret
error: