]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5ac9f88d07d6f64175cdee01f6e25755a3945c6c
tree0c0722fa29cbde6ea0c6361e1ed54ac5e56ac47a
parent7516ab98885189e51a7bab5bbcff58c09adbc4ab
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