]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/powerpc/include/asm/unistd.h
Merge remote-tracking branches 'asoc/topic/inntel', 'asoc/topic/input', 'asoc/topic...
[mirror_ubuntu-bionic-kernel.git] / arch / powerpc / include / asm / unistd.h
CommitLineData
1da177e4
LT
1/*
2 * This file contains the system call numbers.
eef289f7
PM
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
1da177e4 8 */
c3617f72
DH
9#ifndef _ASM_POWERPC_UNISTD_H_
10#define _ASM_POWERPC_UNISTD_H_
eef289f7 11
c3617f72 12#include <uapi/asm/unistd.h>
1da177e4 13
56142536 14
d701cca6 15#define NR_syscalls 382
1da177e4 16
eef289f7 17#define __NR__exit __NR_exit
eef289f7 18
78914ff0
SR
19#define __IGNORE_pkey_mprotect
20#define __IGNORE_pkey_alloc
21#define __IGNORE_pkey_free
22
eef289f7 23#ifndef __ASSEMBLY__
1da177e4 24
eef289f7
PM
25#include <linux/types.h>
26#include <linux/compiler.h>
27#include <linux/linkage.h>
1da177e4 28
1da177e4 29#define __ARCH_WANT_OLD_READDIR
1da177e4
LT
30#define __ARCH_WANT_STAT64
31#define __ARCH_WANT_SYS_ALARM
32#define __ARCH_WANT_SYS_GETHOSTNAME
baed7fc9 33#define __ARCH_WANT_SYS_IPC
1da177e4 34#define __ARCH_WANT_SYS_PAUSE
1da177e4
LT
35#define __ARCH_WANT_SYS_SIGNAL
36#define __ARCH_WANT_SYS_TIME
37#define __ARCH_WANT_SYS_UTIME
38#define __ARCH_WANT_SYS_WAITPID
39#define __ARCH_WANT_SYS_SOCKETCALL
40#define __ARCH_WANT_SYS_FADVISE64
41#define __ARCH_WANT_SYS_GETPGRP
42#define __ARCH_WANT_SYS_LLSEEK
43#define __ARCH_WANT_SYS_NICE
44#define __ARCH_WANT_SYS_OLD_GETRLIMIT
5cacdb4a 45#define __ARCH_WANT_SYS_OLD_UNAME
1da177e4
LT
46#define __ARCH_WANT_SYS_OLDUMOUNT
47#define __ARCH_WANT_SYS_SIGPENDING
48#define __ARCH_WANT_SYS_SIGPROCMASK
eef289f7
PM
49#ifdef CONFIG_PPC32
50#define __ARCH_WANT_OLD_STAT
51#endif
52#ifdef CONFIG_PPC64
53#define __ARCH_WANT_COMPAT_SYS_TIME
2833c28a 54#define __ARCH_WANT_SYS_NEWFSTATAT
8f9c0119 55#define __ARCH_WANT_COMPAT_SYS_SENDFILE
eef289f7 56#endif
0bcfe540
AV
57#define __ARCH_WANT_SYS_FORK
58#define __ARCH_WANT_SYS_VFORK
59#define __ARCH_WANT_SYS_CLONE
1da177e4 60
eef289f7 61#endif /* __ASSEMBLY__ */
f4dcd3c2 62#endif /* _ASM_POWERPC_UNISTD_H_ */