diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2021-05-28 06:46:14 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-06-01 12:17:24 +0300 |
commit | faf243ede96855067fa38f5b1595a4f0c61ed5c7 (patch) | |
tree | c354d85f5a8c850975e10bb2df4e6f39e5adc9f1 /arch/mips/include/asm/unistd.h | |
parent | ab78bb62e936f7ae0b1c501c6c9d88777c894b8e (diff) | |
download | linux-faf243ede96855067fa38f5b1595a4f0c61ed5c7.tar.xz |
mips: syscalls: define syscall offsets directly in <asm/unistd.h>
There is no good reason to generate the syscall offset macros by
scripting since they are not derived from the syscall tables.
Define __NR_*_Linux macros directly in arch/mips/include/asm/unistd.h,
and clean up the Makefile and the shell script.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/include/asm/unistd.h')
-rw-r--r-- | arch/mips/include/asm/unistd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/include/asm/unistd.h b/arch/mips/include/asm/unistd.h index 5d70babfc9ee..c2196b1b6604 100644 --- a/arch/mips/include/asm/unistd.h +++ b/arch/mips/include/asm/unistd.h @@ -17,6 +17,10 @@ #include <asm/unistd_nr_n64.h> #include <asm/unistd_nr_o32.h> +#define __NR_N32_Linux 6000 +#define __NR_64_Linux 5000 +#define __NR_O32_Linux 4000 + #ifdef CONFIG_MIPS32_N32 #define NR_syscalls (__NR_N32_Linux + __NR_N32_Linux_syscalls) #elif defined(CONFIG_64BIT) |