1/* 2 * This file contains the system call numbers. 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. 8 */ 9#ifndef _ASM_POWERPC_UNISTD_H_ 10#define _ASM_POWERPC_UNISTD_H_ 11 12#include <uapi/asm/unistd.h> 13 14 15#define __NR_syscalls 380 16 17#define __NR__exit __NR_exit 18#define NR_syscalls __NR_syscalls 19 20#define __IGNORE_pkey_mprotect 21#define __IGNORE_pkey_alloc 22#define __IGNORE_pkey_free 23 24#ifndef __ASSEMBLY__ 25 26#include <linux/types.h> 27#include <linux/compiler.h> 28#include <linux/linkage.h> 29 30#define __ARCH_WANT_OLD_READDIR 31#define __ARCH_WANT_STAT64 32#define __ARCH_WANT_SYS_ALARM 33#define __ARCH_WANT_SYS_GETHOSTNAME 34#define __ARCH_WANT_SYS_IPC 35#define __ARCH_WANT_SYS_PAUSE 36#define __ARCH_WANT_SYS_SGETMASK 37#define __ARCH_WANT_SYS_SIGNAL 38#define __ARCH_WANT_SYS_TIME 39#define __ARCH_WANT_SYS_UTIME 40#define __ARCH_WANT_SYS_WAITPID 41#define __ARCH_WANT_SYS_SOCKETCALL 42#define __ARCH_WANT_SYS_FADVISE64 43#define __ARCH_WANT_SYS_GETPGRP 44#define __ARCH_WANT_SYS_LLSEEK 45#define __ARCH_WANT_SYS_NICE 46#define __ARCH_WANT_SYS_OLD_GETRLIMIT 47#define __ARCH_WANT_SYS_OLD_UNAME 48#define __ARCH_WANT_SYS_OLDUMOUNT 49#define __ARCH_WANT_SYS_SIGPENDING 50#define __ARCH_WANT_SYS_SIGPROCMASK 51#ifdef CONFIG_PPC32 52#define __ARCH_WANT_OLD_STAT 53#endif 54#ifdef CONFIG_PPC64 55#define __ARCH_WANT_COMPAT_SYS_TIME 56#define __ARCH_WANT_SYS_NEWFSTATAT 57#define __ARCH_WANT_COMPAT_SYS_SENDFILE 58#endif 59#define __ARCH_WANT_SYS_FORK 60#define __ARCH_WANT_SYS_VFORK 61#define __ARCH_WANT_SYS_CLONE 62 63#endif /* __ASSEMBLY__ */ 64#endif /* _ASM_POWERPC_UNISTD_H_ */ 65