]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/audit: Avoid unneccessary #ifdef in syscall_get_arguments()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 20 Aug 2021 09:28:19 +0000 (09:28 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 20 Aug 2021 12:38:08 +0000 (22:38 +1000)
commit1fc272322080940c971cd3c03fb0b9a69aa761ea
tree5bf13138d4bc8b48da9e4289eedb40f167ad2b08
parent9e07f7fe7efa5c55ec4b6f51d7465f68c3047f74
powerpc/audit: Avoid unneccessary #ifdef in syscall_get_arguments()

Use is_32bit_task() which already handles CONFIG_COMPAT.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/ba49cdd574558a0363300c3f6b5b062b397cb071.1629451483.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/syscall.h