blob: ed66db3bc9bbf795bf5e00d52456fbd0dc6e4fb5 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _XTENSA_UNISTD_H
3#define _XTENSA_UNISTD_H
4
5#define __ARCH_WANT_SYS_CLONE
6#include <uapi/asm/unistd.h>
7
8#define __ARCH_WANT_STAT64
9#define __ARCH_WANT_SYS_UTIME
10#define __ARCH_WANT_SYS_LLSEEK
11#define __ARCH_WANT_SYS_GETPGRP
12
13/*
14 * Ignore legacy system calls in the checksyscalls.sh script
15 */
16
17#define __IGNORE_fork /* use clone */
18#define __IGNORE_time
19#define __IGNORE_alarm /* use setitimer */
20#define __IGNORE_pause
21#define __IGNORE_mmap /* use mmap2 */
22#define __IGNORE_vfork /* use clone */
23#define __IGNORE_fadvise64 /* use fadvise64_64 */
24
25#endif /* _XTENSA_UNISTD_H */