Make sure casuptr() reset pcb->pcb_onfault when returning.

This commit is contained in:
Olivier Houchard 2005-02-25 22:54:56 +00:00
parent 183a16a3ec
commit 38e285f83a

View file

@ -77,9 +77,10 @@ ENTRY(casuptr)
ldrt r3, [r0]
cmp r3, r1
movne r0, r3
RETne
bne casuptr_end
strt r2, [r0]
mov r0, r1
casuptr_end:
#ifdef MULTIPROCESSOR
/* XXX Probably not appropriate for non-Hydra SMPs */
stmfd sp!, {r0, r14}