Skip to content

Commit 3af23e9

Browse files
committed
AOSCOS: MIPS: remove duplicate defines of NR_syscalls
In "FROMLIST: MIPS: Add syscall auditing support", some duplicate defines of NR_syscalls were added to arch/mips/include/asm/unistd.h, which were already added by 1d7bf99 ("MIPS: ftrace: Add support for syscall tracepoints."). Removing the duplicate defines of NR_syscalls. Fixes: "FROMLIST: MIPS: Add syscall auditing support" Signed-off-by: Kexy Biscuit <[email protected]>
1 parent f621e52 commit 3af23e9

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

arch/mips/include/asm/unistd.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,4 @@
6464

6565
#endif /* !__ASSEMBLY__ */
6666

67-
#ifdef CONFIG_MIPS32_N32
68-
#define NR_syscalls (__NR_N32_Linux + __NR_N32_Linux_syscalls)
69-
#elif defined(CONFIG_64BIT)
70-
#define NR_syscalls (__NR_64_Linux + __NR_64_Linux_syscalls)
71-
#elif defined(CONFIG_32BIT)
72-
#define NR_syscalls (__NR_O32_Linux + __NR_O32_Linux_syscalls)
73-
#else
74-
#error Must know ABIs in use to define NR_syscalls
75-
#endif
76-
7767
#endif /* _ASM_UNISTD_H */

0 commit comments

Comments
 (0)