162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * This file contains the system call numbers.
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci#ifndef _ASM_POWERPC_UNISTD_H_
662306a36Sopenharmony_ci#define _ASM_POWERPC_UNISTD_H_
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#include <uapi/asm/unistd.h>
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci#define NR_syscalls	__NR_syscalls
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci#ifndef __ASSEMBLY__
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci#include <linux/types.h>
1562306a36Sopenharmony_ci#include <linux/compiler.h>
1662306a36Sopenharmony_ci#include <linux/linkage.h>
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci#define __ARCH_WANT_NEW_STAT
1962306a36Sopenharmony_ci#define __ARCH_WANT_OLD_READDIR
2062306a36Sopenharmony_ci#define __ARCH_WANT_STAT64
2162306a36Sopenharmony_ci#define __ARCH_WANT_SYS_ALARM
2262306a36Sopenharmony_ci#define __ARCH_WANT_SYS_GETHOSTNAME
2362306a36Sopenharmony_ci#define __ARCH_WANT_SYS_IPC
2462306a36Sopenharmony_ci#define __ARCH_WANT_SYS_PAUSE
2562306a36Sopenharmony_ci#define __ARCH_WANT_SYS_SIGNAL
2662306a36Sopenharmony_ci#define __ARCH_WANT_SYS_TIME32
2762306a36Sopenharmony_ci#define __ARCH_WANT_SYS_UTIME32
2862306a36Sopenharmony_ci#define __ARCH_WANT_SYS_WAITPID
2962306a36Sopenharmony_ci#define __ARCH_WANT_SYS_SOCKETCALL
3062306a36Sopenharmony_ci#define __ARCH_WANT_SYS_FADVISE64
3162306a36Sopenharmony_ci#define __ARCH_WANT_SYS_GETPGRP
3262306a36Sopenharmony_ci#define __ARCH_WANT_SYS_LLSEEK
3362306a36Sopenharmony_ci#define __ARCH_WANT_SYS_NICE
3462306a36Sopenharmony_ci#define __ARCH_WANT_SYS_OLD_GETRLIMIT
3562306a36Sopenharmony_ci#define __ARCH_WANT_SYS_OLD_UNAME
3662306a36Sopenharmony_ci#define __ARCH_WANT_SYS_OLDUMOUNT
3762306a36Sopenharmony_ci#define __ARCH_WANT_SYS_SIGPENDING
3862306a36Sopenharmony_ci#define __ARCH_WANT_SYS_SIGPROCMASK
3962306a36Sopenharmony_ci#ifdef CONFIG_PPC32
4062306a36Sopenharmony_ci#define __ARCH_WANT_OLD_STAT
4162306a36Sopenharmony_ci#define __ARCH_WANT_SYS_OLD_SELECT
4262306a36Sopenharmony_ci#endif
4362306a36Sopenharmony_ci#ifdef CONFIG_PPC64
4462306a36Sopenharmony_ci#define __ARCH_WANT_SYS_TIME
4562306a36Sopenharmony_ci#define __ARCH_WANT_SYS_UTIME
4662306a36Sopenharmony_ci#define __ARCH_WANT_SYS_NEWFSTATAT
4762306a36Sopenharmony_ci#define __ARCH_WANT_COMPAT_STAT
4862306a36Sopenharmony_ci#define __ARCH_WANT_COMPAT_FALLOCATE
4962306a36Sopenharmony_ci#define __ARCH_WANT_COMPAT_SYS_SENDFILE
5062306a36Sopenharmony_ci#endif
5162306a36Sopenharmony_ci#define __ARCH_WANT_SYS_FORK
5262306a36Sopenharmony_ci#define __ARCH_WANT_SYS_VFORK
5362306a36Sopenharmony_ci#define __ARCH_WANT_SYS_CLONE
5462306a36Sopenharmony_ci#define __ARCH_WANT_SYS_CLONE3
5562306a36Sopenharmony_ci
5662306a36Sopenharmony_ci#endif		/* __ASSEMBLY__ */
5762306a36Sopenharmony_ci#endif /* _ASM_POWERPC_UNISTD_H_ */
58