aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Houchard <cognet@FreeBSD.org>2004-11-21 19:33:47 +0000
committerOlivier Houchard <cognet@FreeBSD.org>2004-11-21 19:33:47 +0000
commit7fc1bf037153c3b4b18da2860826fae1b60cd9c0 (patch)
tree1b1c050f1a6c807c4d936f9923f794e85d73293a
parent9ebe15a1d7232e7cd83af7aea2bb378ccc6dbc89 (diff)
downloadsrc-7fc1bf037153c3b4b18da2860826fae1b60cd9c0.tar.gz
src-7fc1bf037153c3b4b18da2860826fae1b60cd9c0.zip
Set the frame pointer to 0 in fork_trampoline().
Notes
Notes: svn path=/head/; revision=137976
-rw-r--r--sys/arm/arm/swtch.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arm/arm/swtch.S b/sys/arm/arm/swtch.S
index 1cfd1f6ad32f..1157fb02f93f 100644
--- a/sys/arm/arm/swtch.S
+++ b/sys/arm/arm/swtch.S
@@ -468,6 +468,7 @@ ENTRY(fork_trampoline)
mov r1, r5
mov r2, sp
mov r0, r4
+ mov fp, #0
bl _C_LABEL(fork_exit)
/* Kill irq"s */
mrs r0, cpsr