Skip to content
Commit 41f013ce authored by Matheus Castanho's avatar Matheus Castanho Committed by Tulio Magno Quites Machado Filho
Browse files

powerpc: Use scv instruction on clone when available



clone already uses r31 to temporarily save input arguments before doing the
syscall, so we use a different register to read from the TCB. We can also avoid
allocating another stack frame, which is not needed since we can simply extend
the usage of the red zone.

Tested-by: default avatarLucas A. M. Magalhães <lamm@linux.ibm.com>
Reviewed-by: default avatarTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
parent 68ab82f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment