diff options
Diffstat (limited to 'include/asm-mips/unistd.h')
-rw-r--r-- | include/asm-mips/unistd.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-mips/unistd.h b/include/asm-mips/unistd.h index e71f161a4896..8bb0bb9b2e68 100644 --- a/include/asm-mips/unistd.h +++ b/include/asm-mips/unistd.h | |||
@@ -905,6 +905,8 @@ | |||
905 | #define __NR_N32_Linux 6000 | 905 | #define __NR_N32_Linux 6000 |
906 | #define __NR_N32_Linux_syscalls 268 | 906 | #define __NR_N32_Linux_syscalls 268 |
907 | 907 | ||
908 | #ifdef __KERNEL__ | ||
909 | |||
908 | #ifndef __ASSEMBLY__ | 910 | #ifndef __ASSEMBLY__ |
909 | 911 | ||
910 | /* XXX - _foo needs to be __foo, while __NR_bar could be _NR_bar. */ | 912 | /* XXX - _foo needs to be __foo, while __NR_bar could be _NR_bar. */ |
@@ -1168,8 +1170,6 @@ type name (atype a,btype b,ctype c,dtype d,etype e,ftype f) \ | |||
1168 | 1170 | ||
1169 | #endif /* (_MIPS_SIM == _MIPS_SIM_NABI32) || (_MIPS_SIM == _MIPS_SIM_ABI64) */ | 1171 | #endif /* (_MIPS_SIM == _MIPS_SIM_NABI32) || (_MIPS_SIM == _MIPS_SIM_ABI64) */ |
1170 | 1172 | ||
1171 | #ifdef __KERNEL__ | ||
1172 | |||
1173 | 1173 | ||
1174 | #define __ARCH_WANT_IPC_PARSE_VERSION | 1174 | #define __ARCH_WANT_IPC_PARSE_VERSION |
1175 | #define __ARCH_WANT_OLD_READDIR | 1175 | #define __ARCH_WANT_OLD_READDIR |
@@ -1196,7 +1196,6 @@ type name (atype a,btype b,ctype c,dtype d,etype e,ftype f) \ | |||
1196 | # ifdef CONFIG_MIPS32_O32 | 1196 | # ifdef CONFIG_MIPS32_O32 |
1197 | # define __ARCH_WANT_COMPAT_SYS_TIME | 1197 | # define __ARCH_WANT_COMPAT_SYS_TIME |
1198 | # endif | 1198 | # endif |
1199 | #endif | ||
1200 | 1199 | ||
1201 | #ifdef __KERNEL_SYSCALLS__ | 1200 | #ifdef __KERNEL_SYSCALLS__ |
1202 | 1201 | ||
@@ -1247,4 +1246,5 @@ asmlinkage long sys_rt_sigaction(int sig, | |||
1247 | */ | 1246 | */ |
1248 | #define cond_syscall(x) asm(".weak\t" #x "\n" #x "\t=\tsys_ni_syscall") | 1247 | #define cond_syscall(x) asm(".weak\t" #x "\n" #x "\t=\tsys_ni_syscall") |
1249 | 1248 | ||
1249 | #endif /* __KERNEL__ */ | ||
1250 | #endif /* _ASM_UNISTD_H */ | 1250 | #endif /* _ASM_UNISTD_H */ |