summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2004-11-21 19:33:47 +0000
committercognet <cognet@FreeBSD.org>2004-11-21 19:33:47 +0000
commit9990b1a0eb34675dc3ab11acb5a60dccf47ec224 (patch)
tree1b1c050f1a6c807c4d936f9923f794e85d73293a /sys/arm
parent22b168ab2449334b15b55b276945245bb1660a9d (diff)
downloadFreeBSD-src-9990b1a0eb34675dc3ab11acb5a60dccf47ec224.zip
FreeBSD-src-9990b1a0eb34675dc3ab11acb5a60dccf47ec224.tar.gz
Set the frame pointer to 0 in fork_trampoline().
Diffstat (limited to 'sys/arm')
-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 1cfd1f6..1157fb0 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
OpenPOWER on IntegriCloud