Re: [PATCH] powerpc/audit: Simplify syscall_get_arch()

2022-01-13 Thread Dmitry V. Levin
On Fri, Aug 20, 2021 at 09:39:14AM +, Christophe Leroy wrote: > Make use of is_32bit_task() and CONFIG_CPU_LITTLE_ENDIAN > to simplify syscall_get_arch(). > > Signed-off-by: Christophe Leroy > --- > arch/powerpc/include/asm/syscall.h | 15 +-- > 1 file changed, 5 insertions(+), 1

Re: [PATCH] powerpc/audit: Simplify syscall_get_arch()

2021-08-27 Thread Michael Ellerman
On Fri, 20 Aug 2021 09:39:14 + (UTC), Christophe Leroy wrote: > Make use of is_32bit_task() and CONFIG_CPU_LITTLE_ENDIAN > to simplify syscall_get_arch(). > > > > Applied to powerpc/next. [1/1] powerpc/audit: Simplify syscall_get_arch() https://git.kernel.org/powerpc/c/770cec16cdc9d

[PATCH] powerpc/audit: Simplify syscall_get_arch()

2021-08-20 Thread Christophe Leroy
Make use of is_32bit_task() and CONFIG_CPU_LITTLE_ENDIAN to simplify syscall_get_arch(). Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/syscall.h | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/arch/powerpc/include/asm/syscall.h b/arch/powerpc/