X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=arch%2Fmips%2Finclude%2Fasm%2Funistd.h;h=4d3b92886665799d2ca2b746d8efc310cc0c1168;hb=f576607a662c24ffd99474e2afff503440c9a41d;hp=63c9c886173a68c6a89857b7f7d28046cb712e56;hpb=2dd1cb5a7ea7aa0d3f7f36baa48aae3725655647;p=karo-tx-linux.git diff --git a/arch/mips/include/asm/unistd.h b/arch/mips/include/asm/unistd.h index 63c9c886173a..4d3b92886665 100644 --- a/arch/mips/include/asm/unistd.h +++ b/arch/mips/include/asm/unistd.h @@ -14,6 +14,13 @@ #include +#ifdef CONFIG_MIPS32_N32 +#define NR_syscalls (__NR_N32_Linux + __NR_N32_Linux_syscalls) +#elif defined(CONFIG_64BIT) +#define NR_syscalls (__NR_64_Linux + __NR_64_Linux_syscalls) +#else +#define NR_syscalls (__NR_O32_Linux + __NR_O32_Linux_syscalls) +#endif #ifndef __ASSEMBLY__