powerpc/syscalls: Remove __NR__exit

__NR__exit is nowhere used. On most architectures it was removed by
commit 135ab6ec8f ("[PATCH] remove remaining errno and
__KERNEL_SYSCALLS__ references") but not on powerpc.

powerpc removed __KERNEL_SYSCALLS__ in commit 3db03b4afb ("[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
This commit is contained in:
Christophe Leroy 2021-08-23 06:45:20 +00:00 committed by Michael Ellerman
parent 770cec16cd
commit a00ea5b6f2

View file

@ -9,8 +9,6 @@
#define NR_syscalls __NR_syscalls
#define __NR__exit __NR_exit
#ifndef __ASSEMBLY__
#include <linux/types.h>