powerpc/32: Reduce code duplication of system call entry
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 4 Jun 2021 14:54:14 +0000 (14:54 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 Jun 2021 14:07:10 +0000 (00:07 +1000)
commit4bd9e05ac7b8b1f7d0c28702cb684417501a5e39
tree0c0722fa29cbde6ea0c6361e1ed54ac5e56ac47a
parent275dcf24e253f4f5b200bc8cca5eac32a23b08c8
powerpc/32: Reduce code duplication of system call entry

booke and non booke do pretty similar things in SYSCALL_ENTRY macro
just before calling jumping to transfer_to_syscall().

Do them in transfer_to_syscall() instead.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/552e27fa09394a6bc70585fcdfa237f99a5d1267.1622818435.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/entry_32.S
arch/powerpc/kernel/head_32.h
arch/powerpc/kernel/head_booke.h