]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc: Rework syscall_get_arguments() so there is only one loop
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Jul 2015 10:21:05 +0000 (20:21 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 29 Jul 2015 01:56:12 +0000 (11:56 +1000)
commita7657844296e796bf33922192743ddeacbcd4d7a
tree2847a8ab0e9176691ce07ca6b8ded749ed550bf8
parent1b1a3702a65c1a6511e4c95ecb3770dfdf235bcf
powerpc: Rework syscall_get_arguments() so there is only one loop

Currently syscall_get_arguments() has two loops, one for compat and one
for regular tasks. In prepartion for the next patch, which changes which
registers we use, switch it to only have one loop, so we only have one
place to update.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Kees Cook <keescook@chromium.org>
arch/powerpc/include/asm/syscall.h