diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2021-08-23 06:45:20 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-08-23 19:28:20 +1000 |
commit | a00ea5b6f2bbef8b004b0b7228c61680a50c7c3f (patch) | |
tree | d31be3079b87b255a07fc520f5f5283e5738db38 /arch/powerpc/include | |
parent | 770cec16cdc9d15555e67896dd2214a4fec9a3fa (diff) | |
download | linux-stable-a00ea5b6f2bbef8b004b0b7228c61680a50c7c3f.tar.gz linux-stable-a00ea5b6f2bbef8b004b0b7228c61680a50c7c3f.tar.bz2 linux-stable-a00ea5b6f2bbef8b004b0b7228c61680a50c7c3f.zip |
powerpc/syscalls: Remove __NR__exit
__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 <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
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/unistd.h | 2 |
1 files changed, 0 insertions, 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 <linux/types.h> |