blob: cb4c2ce8d447b16711aff6fc06c0e27f21c6180e [file] [log] [blame]
Chris Zankel2f72d4f2012-10-23 20:17:05 -07001#ifndef _XTENSA_UNISTD_H
2#define _XTENSA_UNISTD_H
Chris Zankel9a8fd552005-06-23 22:01:26 -07003
Al Viro3e41f9b2012-10-26 23:41:40 -04004#define __ARCH_WANT_SYS_CLONE
David Howells83596722012-10-15 03:55:40 +04005#include <uapi/asm/unistd.h>
Chris Zankel9a8fd552005-06-23 22:01:26 -07006
Chris Zankel9a8fd552005-06-23 22:01:26 -07007#define __ARCH_WANT_STAT64
Chris Zankel9a8fd552005-06-23 22:01:26 -07008#define __ARCH_WANT_SYS_UTIME
Chris Zankel9a8fd552005-06-23 22:01:26 -07009#define __ARCH_WANT_SYS_LLSEEK
Chris Zankel3547cdb2007-08-03 15:55:07 -070010#define __ARCH_WANT_SYS_GETPGRP
11
12/*
13 * Ignore legacy system calls in the checksyscalls.sh script
14 */
15
16#define __IGNORE_fork /* use clone */
17#define __IGNORE_time
18#define __IGNORE_alarm /* use setitimer */
19#define __IGNORE_pause
20#define __IGNORE_mmap /* use mmap2 */
21#define __IGNORE_vfork /* use clone */
22#define __IGNORE_fadvise64 /* use fadvise64_64 */
Chris Zankel2f72d4f2012-10-23 20:17:05 -070023
24#endif /* _XTENSA_UNISTD_H */