]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Use the newly added is_tsk_32bit_task() macro
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 21 Jan 2022 07:58:47 +0000 (07:58 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 12 Feb 2022 11:47:42 +0000 (22:47 +1100)
commit31e8aa5f061cf6462ea398917a9c8183586fb878
treeff996f48ed0b909606e0bc7370535340f7a741c8
parentf4ae3d066d757a9a7c6252fa79532779dc29273c
powerpc: Use the newly added is_tsk_32bit_task() macro

Two places deserve using the macro is_tsk_32bit_task() added by
commit 812d09172065 ("powerpc/audit: Fix syscall_get_arch()")

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/7304a889dbe885aefad8a8333673c81ee4b8f7a6.1642751874.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/ptrace/ptrace-view.c
arch/powerpc/perf/perf_regs.c