Merge tag 'pci-v3.15-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaa...
[deliverable/linux.git] / arch / mips / include / asm / unistd.h
CommitLineData
1da177e4
LT
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.
5 *
6 * Copyright (C) 1995, 96, 97, 98, 99, 2000 by Ralf Baechle
7 * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
8 *
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
11 */
12#ifndef _ASM_UNISTD_H
13#define _ASM_UNISTD_H
14
61730c53 15#include <uapi/asm/unistd.h>
1da177e4 16
1d7bf993
RB
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
56142536 24
1da177e4
LT
25#ifndef __ASSEMBLY__
26
1da177e4
LT
27#define __ARCH_WANT_OLD_READDIR
28#define __ARCH_WANT_SYS_ALARM
29#define __ARCH_WANT_SYS_GETHOSTNAME
baed7fc9 30#define __ARCH_WANT_SYS_IPC
1da177e4
LT
31#define __ARCH_WANT_SYS_PAUSE
32#define __ARCH_WANT_SYS_SGETMASK
33#define __ARCH_WANT_SYS_UTIME
34#define __ARCH_WANT_SYS_WAITPID
35#define __ARCH_WANT_SYS_SOCKETCALL
1da177e4
LT
36#define __ARCH_WANT_SYS_GETPGRP
37#define __ARCH_WANT_SYS_LLSEEK
38#define __ARCH_WANT_SYS_NICE
39#define __ARCH_WANT_SYS_OLD_GETRLIMIT
5cacdb4a 40#define __ARCH_WANT_SYS_OLD_UNAME
1da177e4
LT
41#define __ARCH_WANT_SYS_OLDUMOUNT
42#define __ARCH_WANT_SYS_SIGPENDING
43#define __ARCH_WANT_SYS_SIGPROCMASK
875d43e7 44# ifdef CONFIG_32BIT
359bbd42 45# define __ARCH_WANT_STAT64
1da177e4
LT
46# define __ARCH_WANT_SYS_TIME
47# endif
48# ifdef CONFIG_MIPS32_O32
49# define __ARCH_WANT_COMPAT_SYS_TIME
50# endif
50150d2b
AV
51#define __ARCH_WANT_SYS_FORK
52#define __ARCH_WANT_SYS_CLONE
1da177e4 53
83d0f233
AN
54/* whitelists for checksyscalls */
55#define __IGNORE_select
56#define __IGNORE_vfork
57#define __IGNORE_time
58#define __IGNORE_uselib
59#define __IGNORE_fadvise64_64
60#define __IGNORE_getdents64
61#if _MIPS_SIM == _MIPS_SIM_NABI32
62#define __IGNORE_truncate64
63#define __IGNORE_ftruncate64
64#define __IGNORE_stat64
65#define __IGNORE_lstat64
66#define __IGNORE_fstat64
67#define __IGNORE_fstatat64
68#endif
69
1da177e4
LT
70#endif /* !__ASSEMBLY__ */
71
1da177e4 72#endif /* _ASM_UNISTD_H */
This page took 0.734867 seconds and 5 git commands to generate.