Re: [PATCH v2] powerpc/audit: Fix syscall_get_arch()

2022-01-16 Thread Michael Ellerman
On Fri, 14 Jan 2022 11:26:25 +, Christophe Leroy wrote: > Commit 770cec16cdc9 ("powerpc/audit: Simplify syscall_get_arch()") > and commit 898a1ef06ad4 ("powerpc/audit: Avoid unneccessary #ifdef > in syscall_get_arguments()") > replaced test_tsk_thread_flag(task, TIF_32BIT)) by is_32bit_task().

[PATCH v2] powerpc/audit: Fix syscall_get_arch()

2022-01-14 Thread Christophe Leroy
Commit 770cec16cdc9 ("powerpc/audit: Simplify syscall_get_arch()") and commit 898a1ef06ad4 ("powerpc/audit: Avoid unneccessary #ifdef in syscall_get_arguments()") replaced test_tsk_thread_flag(task, TIF_32BIT)) by is_32bit_task(). But is_32bit_task() applies on current task while be want the test