Re: [PATCH] powerpc/syscalls: Remove __NR__exit

2021-08-27 Thread Michael Ellerman
On Mon, 23 Aug 2021 06:45:20 + (UTC), Christophe Leroy wrote:
> __NR_exit is nowhere used. On most architectures it was removed by
> commit 135ab6ec8fda ("[PATCH] remove remaining errno and
> __KERNEL_SYSCALLS__ references") but not on powerpc.
> 
> powerpc removed __KERNEL_SYSCALLS__ in commit 3db03b4afb3e ("[PATCH]
> rename the provided execve functions to kernel_execve"), but __NR_exit
> was left over.
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/syscalls: Remove __NR__exit
  https://git.kernel.org/powerpc/c/a00ea5b6f2bbef8b004b0b7228c61680a50c7c3f

cheers


Re: [PATCH] powerpc/syscalls: Remove __NR__exit

2021-08-23 Thread Michael Ellerman
Christophe Leroy  writes:
> Le 23/08/2021 à 10:33, Andreas Schwab a écrit :
>> On Aug 23 2021, Christophe Leroy wrote:
>> 
>>> __NR_exit is nowhere used. On most architectures it was removed by
>> 
>> ITYM __NR__exit, which is what you are removing.
>> 
>
> Indeed.
>
> Michael, can you fix when applying or do you prefer a new patch ?

I can fix.

cheers


Re: [PATCH] powerpc/syscalls: Remove __NR__exit

2021-08-23 Thread Christophe Leroy




Le 23/08/2021 à 10:33, Andreas Schwab a écrit :

On Aug 23 2021, Christophe Leroy wrote:


__NR_exit is nowhere used. On most architectures it was removed by


ITYM __NR__exit, which is what you are removing.



Indeed.

Michael, can you fix when applying or do you prefer a new patch ?


Re: [PATCH] powerpc/syscalls: Remove __NR__exit

2021-08-23 Thread Andreas Schwab
On Aug 23 2021, Christophe Leroy wrote:

> __NR_exit is nowhere used. On most architectures it was removed by

ITYM __NR__exit, which is what you are removing.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


[PATCH] powerpc/syscalls: Remove __NR__exit

2021-08-23 Thread Christophe Leroy
__NR_exit is nowhere used. On most architectures it was removed by
commit 135ab6ec8fda ("[PATCH] remove remaining errno and
__KERNEL_SYSCALLS__ references") but not on powerpc.

powerpc removed __KERNEL_SYSCALLS__ in commit 3db03b4afb3e ("[PATCH]
rename the provided execve functions to kernel_execve"), but __NR_exit
was left over.

Signed-off-by: Christophe Leroy 
---
 arch/powerpc/include/asm/unistd.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/powerpc/include/asm/unistd.h 
b/arch/powerpc/include/asm/unistd.h
index b541c690a31c..5eb462af6766 100644
--- a/arch/powerpc/include/asm/unistd.h
+++ b/arch/powerpc/include/asm/unistd.h
@@ -9,8 +9,6 @@
 
 #define NR_syscalls__NR_syscalls
 
-#define __NR__exit __NR_exit
-
 #ifndef __ASSEMBLY__
 
 #include 
-- 
2.25.0