Set the frame pointer to 0 in fork_trampoline().

This commit is contained in:
Olivier Houchard 2004-11-21 19:33:47 +00:00
parent 9ebe15a1d7
commit 7fc1bf0371

View File

@ -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