18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * arch/arm/include/asm/unistd.h 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 2001-2005 Russell King 68c2ecf20Sopenharmony_ci * 78c2ecf20Sopenharmony_ci * Please forward _all_ changes to this file to rmk@arm.linux.org.uk, 88c2ecf20Sopenharmony_ci * no matter what the change is. Thanks! 98c2ecf20Sopenharmony_ci */ 108c2ecf20Sopenharmony_ci#ifndef __ASM_ARM_UNISTD_H 118c2ecf20Sopenharmony_ci#define __ASM_ARM_UNISTD_H 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci#include <uapi/asm/unistd.h> 148c2ecf20Sopenharmony_ci#include <asm/unistd-nr.h> 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci#define __ARCH_WANT_NEW_STAT 178c2ecf20Sopenharmony_ci#define __ARCH_WANT_STAT64 188c2ecf20Sopenharmony_ci#define __ARCH_WANT_SYS_GETHOSTNAME 198c2ecf20Sopenharmony_ci#define __ARCH_WANT_SYS_PAUSE 208c2ecf20Sopenharmony_ci#define __ARCH_WANT_SYS_GETPGRP 218c2ecf20Sopenharmony_ci#define __ARCH_WANT_SYS_NICE 228c2ecf20Sopenharmony_ci#define __ARCH_WANT_SYS_SIGPENDING 238c2ecf20Sopenharmony_ci#define __ARCH_WANT_SYS_SIGPROCMASK 248c2ecf20Sopenharmony_ci#define __ARCH_WANT_SYS_OLD_MMAP 258c2ecf20Sopenharmony_ci#define __ARCH_WANT_SYS_OLD_SELECT 268c2ecf20Sopenharmony_ci#define __ARCH_WANT_SYS_UTIME32 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci#if !defined(CONFIG_AEABI) || defined(CONFIG_OABI_COMPAT) 298c2ecf20Sopenharmony_ci#define __ARCH_WANT_SYS_TIME32 308c2ecf20Sopenharmony_ci#define __ARCH_WANT_SYS_IPC 318c2ecf20Sopenharmony_ci#define __ARCH_WANT_SYS_OLDUMOUNT 328c2ecf20Sopenharmony_ci#define __ARCH_WANT_SYS_ALARM 338c2ecf20Sopenharmony_ci#define __ARCH_WANT_SYS_OLD_GETRLIMIT 348c2ecf20Sopenharmony_ci#define __ARCH_WANT_OLD_READDIR 358c2ecf20Sopenharmony_ci#define __ARCH_WANT_SYS_SOCKETCALL 368c2ecf20Sopenharmony_ci#endif 378c2ecf20Sopenharmony_ci#define __ARCH_WANT_SYS_FORK 388c2ecf20Sopenharmony_ci#define __ARCH_WANT_SYS_VFORK 398c2ecf20Sopenharmony_ci#define __ARCH_WANT_SYS_CLONE 408c2ecf20Sopenharmony_ci#define __ARCH_WANT_SYS_CLONE3 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_ci/* 438c2ecf20Sopenharmony_ci * Unimplemented (or alternatively implemented) syscalls 448c2ecf20Sopenharmony_ci */ 458c2ecf20Sopenharmony_ci#define __IGNORE_fadvise64_64 468c2ecf20Sopenharmony_ci 478c2ecf20Sopenharmony_ci#ifdef __ARM_EABI__ 488c2ecf20Sopenharmony_ci/* 498c2ecf20Sopenharmony_ci * The following syscalls are obsolete and no longer available for EABI: 508c2ecf20Sopenharmony_ci * __NR_time 518c2ecf20Sopenharmony_ci * __NR_umount 528c2ecf20Sopenharmony_ci * __NR_stime 538c2ecf20Sopenharmony_ci * __NR_alarm 548c2ecf20Sopenharmony_ci * __NR_utime 558c2ecf20Sopenharmony_ci * __NR_getrlimit 568c2ecf20Sopenharmony_ci * __NR_select 578c2ecf20Sopenharmony_ci * __NR_readdir 588c2ecf20Sopenharmony_ci * __NR_mmap 598c2ecf20Sopenharmony_ci * __NR_socketcall 608c2ecf20Sopenharmony_ci * __NR_syscall 618c2ecf20Sopenharmony_ci * __NR_ipc 628c2ecf20Sopenharmony_ci */ 638c2ecf20Sopenharmony_ci#define __IGNORE_getrlimit 648c2ecf20Sopenharmony_ci#endif 658c2ecf20Sopenharmony_ci 668c2ecf20Sopenharmony_ci#endif /* __ASM_ARM_UNISTD_H */ 67