Linux Audio

Check our new training course

Loading...
v5.4
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/*
 3 *  arch/arm/include/asm/unistd.h
 4 *
 5 *  Copyright (C) 2001-2005 Russell King
 6 *
 
 
 
 
 7 * Please forward _all_ changes to this file to rmk@arm.linux.org.uk,
 8 * no matter what the change is.  Thanks!
 9 */
10#ifndef __ASM_ARM_UNISTD_H
11#define __ASM_ARM_UNISTD_H
12
13#include <uapi/asm/unistd.h>
14#include <asm/unistd-nr.h>
15
16#define __ARCH_WANT_NEW_STAT
17#define __ARCH_WANT_STAT64
18#define __ARCH_WANT_SYS_GETHOSTNAME
19#define __ARCH_WANT_SYS_PAUSE
20#define __ARCH_WANT_SYS_GETPGRP
 
21#define __ARCH_WANT_SYS_NICE
22#define __ARCH_WANT_SYS_SIGPENDING
23#define __ARCH_WANT_SYS_SIGPROCMASK
24#define __ARCH_WANT_SYS_OLD_MMAP
25#define __ARCH_WANT_SYS_OLD_SELECT
26#define __ARCH_WANT_SYS_UTIME32
27
28#if !defined(CONFIG_AEABI) || defined(CONFIG_OABI_COMPAT)
29#define __ARCH_WANT_SYS_TIME32
30#define __ARCH_WANT_SYS_IPC
31#define __ARCH_WANT_SYS_OLDUMOUNT
32#define __ARCH_WANT_SYS_ALARM
 
33#define __ARCH_WANT_SYS_OLD_GETRLIMIT
34#define __ARCH_WANT_OLD_READDIR
35#define __ARCH_WANT_SYS_SOCKETCALL
36#endif
37#define __ARCH_WANT_SYS_FORK
38#define __ARCH_WANT_SYS_VFORK
39#define __ARCH_WANT_SYS_CLONE
40#define __ARCH_WANT_SYS_CLONE3
41
42/*
43 * Unimplemented (or alternatively implemented) syscalls
44 */
45#define __IGNORE_fadvise64_64
 
46
47#ifdef __ARM_EABI__
48/*
49 * The following syscalls are obsolete and no longer available for EABI:
50 *  __NR_time
51 *  __NR_umount
52 *  __NR_stime
53 *  __NR_alarm
54 *  __NR_utime
55 *  __NR_getrlimit
56 *  __NR_select
57 *  __NR_readdir
58 *  __NR_mmap
59 *  __NR_socketcall
60 *  __NR_syscall
61 *  __NR_ipc
62 */
63#define __IGNORE_getrlimit
64#endif
65
66#endif /* __ASM_ARM_UNISTD_H */
v4.10.11
 
 1/*
 2 *  arch/arm/include/asm/unistd.h
 3 *
 4 *  Copyright (C) 2001-2005 Russell King
 5 *
 6 * This program is free software; you can redistribute it and/or modify
 7 * it under the terms of the GNU General Public License version 2 as
 8 * published by the Free Software Foundation.
 9 *
10 * Please forward _all_ changes to this file to rmk@arm.linux.org.uk,
11 * no matter what the change is.  Thanks!
12 */
13#ifndef __ASM_ARM_UNISTD_H
14#define __ASM_ARM_UNISTD_H
15
16#include <uapi/asm/unistd.h>
17#include <asm/unistd-nr.h>
18
 
19#define __ARCH_WANT_STAT64
20#define __ARCH_WANT_SYS_GETHOSTNAME
21#define __ARCH_WANT_SYS_PAUSE
22#define __ARCH_WANT_SYS_GETPGRP
23#define __ARCH_WANT_SYS_LLSEEK
24#define __ARCH_WANT_SYS_NICE
25#define __ARCH_WANT_SYS_SIGPENDING
26#define __ARCH_WANT_SYS_SIGPROCMASK
27#define __ARCH_WANT_SYS_OLD_MMAP
28#define __ARCH_WANT_SYS_OLD_SELECT
 
29
30#if !defined(CONFIG_AEABI) || defined(CONFIG_OABI_COMPAT)
31#define __ARCH_WANT_SYS_TIME
32#define __ARCH_WANT_SYS_IPC
33#define __ARCH_WANT_SYS_OLDUMOUNT
34#define __ARCH_WANT_SYS_ALARM
35#define __ARCH_WANT_SYS_UTIME
36#define __ARCH_WANT_SYS_OLD_GETRLIMIT
37#define __ARCH_WANT_OLD_READDIR
38#define __ARCH_WANT_SYS_SOCKETCALL
39#endif
40#define __ARCH_WANT_SYS_FORK
41#define __ARCH_WANT_SYS_VFORK
42#define __ARCH_WANT_SYS_CLONE
 
43
44/*
45 * Unimplemented (or alternatively implemented) syscalls
46 */
47#define __IGNORE_fadvise64_64
48#define __IGNORE_migrate_pages
49
50#ifdef __ARM_EABI__
51/*
52 * The following syscalls are obsolete and no longer available for EABI:
53 *  __NR_time
54 *  __NR_umount
55 *  __NR_stime
56 *  __NR_alarm
57 *  __NR_utime
58 *  __NR_getrlimit
59 *  __NR_select
60 *  __NR_readdir
61 *  __NR_mmap
62 *  __NR_socketcall
63 *  __NR_syscall
64 *  __NR_ipc
65 */
66#define __IGNORE_getrlimit
67#endif
68
69#endif /* __ASM_ARM_UNISTD_H */