forked from len0rd/rockbox
Missing parenthesis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@767 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c1bb768e5a
commit
166f3298df
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ int create_thread(void* fp, void* sp, int stk_size)
|
||||||
stctx(ctxp);
|
stctx(ctxp);
|
||||||
/* Subtract 4 to leave room for the PR push in ldctx()
|
/* Subtract 4 to leave room for the PR push in ldctx()
|
||||||
Align it on an even 32 bit boundary */
|
Align it on an even 32 bit boundary */
|
||||||
ctxp->regs.sp = (void*)(((unsigned int)sp + stk_size - 4) & ~3;
|
ctxp->regs.sp = (void*)(((unsigned int)sp + stk_size - 4) & ~3);
|
||||||
ctxp->regs.pr = fp;
|
ctxp->regs.pr = fp;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue