]> git.baikalelectronics.ru Git - kernel.git/commitdiff
powerpc/syscalls: Remove __NR__exit
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 23 Aug 2021 06:45:20 +0000 (06:45 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 23 Aug 2021 09:28:20 +0000 (19:28 +1000)
__NR__exit is nowhere used. On most architectures it was removed by
commit 172c102fcfdf ("[PATCH] remove remaining errno and
__KERNEL_SYSCALLS__ references") but not on powerpc.

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

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

index b541c690a31c2c25410cdd3b7b305f95813dacd0..5eb462af6766438621c287a0e46db677e4eee31a 100644 (file)
@@ -9,8 +9,6 @@
 
 #define NR_syscalls    __NR_syscalls
 
-#define __NR__exit __NR_exit
-
 #ifndef __ASSEMBLY__
 
 #include <linux/types.h>