blk: rq_data_dir() should not return a boolean
[cris-mirror.git] / arch / mips / include / asm / unistd.h
blobe55813029d5a2fcf2c67c428a4ff4eea94b44ecb
1 /*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
6 * Copyright (C) 1995, 96, 97, 98, 99, 2000 by Ralf Baechle
7 * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
9 * Changed system calls macros _syscall5 - _syscall7 to push args 5 to 7 onto
10 * the stack. Robin Farine for ACN S.A, Copyright (C) 1996 by ACN S.A
12 #ifndef _ASM_UNISTD_H
13 #define _ASM_UNISTD_H
15 #include <uapi/asm/unistd.h>
17 #ifdef CONFIG_MIPS32_N32
18 #define NR_syscalls (__NR_N32_Linux + __NR_N32_Linux_syscalls)
19 #elif defined(CONFIG_64BIT)
20 #define NR_syscalls (__NR_64_Linux + __NR_64_Linux_syscalls)
21 #else
22 #define NR_syscalls (__NR_O32_Linux + __NR_O32_Linux_syscalls)
23 #endif
25 #ifndef __ASSEMBLY__
27 #define __ARCH_WANT_OLD_READDIR
28 #define __ARCH_WANT_SYS_ALARM
29 #define __ARCH_WANT_SYS_GETHOSTNAME
30 #define __ARCH_WANT_SYS_IPC
31 #define __ARCH_WANT_SYS_PAUSE
32 #define __ARCH_WANT_SYS_UTIME
33 #define __ARCH_WANT_SYS_WAITPID
34 #define __ARCH_WANT_SYS_SOCKETCALL
35 #define __ARCH_WANT_SYS_GETPGRP
36 #define __ARCH_WANT_SYS_LLSEEK
37 #define __ARCH_WANT_SYS_NICE
38 #define __ARCH_WANT_SYS_OLD_GETRLIMIT
39 #define __ARCH_WANT_SYS_OLD_UNAME
40 #define __ARCH_WANT_SYS_OLDUMOUNT
41 #define __ARCH_WANT_SYS_SIGPENDING
42 #define __ARCH_WANT_SYS_SIGPROCMASK
43 # ifdef CONFIG_32BIT
44 # define __ARCH_WANT_STAT64
45 # define __ARCH_WANT_SYS_TIME
46 # endif
47 # ifdef CONFIG_MIPS32_O32
48 # define __ARCH_WANT_COMPAT_SYS_TIME
49 # endif
50 #define __ARCH_WANT_SYS_FORK
51 #define __ARCH_WANT_SYS_CLONE
53 /* whitelists for checksyscalls */
54 #define __IGNORE_select
55 #define __IGNORE_vfork
56 #define __IGNORE_time
57 #define __IGNORE_uselib
58 #define __IGNORE_fadvise64_64
59 #define __IGNORE_getdents64
60 #if _MIPS_SIM == _MIPS_SIM_NABI32
61 #define __IGNORE_truncate64
62 #define __IGNORE_ftruncate64
63 #define __IGNORE_stat64
64 #define __IGNORE_lstat64
65 #define __IGNORE_fstat64
66 #define __IGNORE_fstatat64
67 #endif
69 #endif /* !__ASSEMBLY__ */
71 #endif /* _ASM_UNISTD_H */