blob: acabef1a75df00637def7a94af9f1425d281b7f0 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
Russell King4baa9922008-08-02 10:55:55 +01002 * arch/arm/include/asm/unistd.h
Linus Torvalds1da177e2005-04-16 15:20:36 -07003 *
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
David Howellscb8db5d2012-10-12 13:05:52 +010016#include <uapi/asm/unistd.h>
Nicolas Pitre3f2829a2006-01-14 16:31:29 +000017
Dario Faggiolid50dde52013-11-07 14:43:36 +010018#define __NR_syscalls (384)
Russell Kingcc20d422009-11-09 23:53:29 +000019#define __ARM_NR_cmpxchg (__ARM_NR_BASE+0x00fff0)
Linus Torvalds1da177e2005-04-16 15:20:36 -070020
Linus Torvalds1da177e2005-04-16 15:20:36 -070021#define __ARCH_WANT_STAT64
Linus Torvalds1da177e2005-04-16 15:20:36 -070022#define __ARCH_WANT_SYS_GETHOSTNAME
23#define __ARCH_WANT_SYS_PAUSE
Linus Torvalds1da177e2005-04-16 15:20:36 -070024#define __ARCH_WANT_SYS_GETPGRP
25#define __ARCH_WANT_SYS_LLSEEK
26#define __ARCH_WANT_SYS_NICE
Linus Torvalds1da177e2005-04-16 15:20:36 -070027#define __ARCH_WANT_SYS_SIGPENDING
28#define __ARCH_WANT_SYS_SIGPROCMASK
Christoph Hellwiga4679372010-03-10 15:21:15 -080029#define __ARCH_WANT_SYS_OLD_MMAP
Christoph Hellwig5d0e5282010-03-10 15:21:13 -080030#define __ARCH_WANT_SYS_OLD_SELECT
Nicolas Pitredd35afc2006-01-14 16:36:12 +000031
32#if !defined(CONFIG_AEABI) || defined(CONFIG_OABI_COMPAT)
33#define __ARCH_WANT_SYS_TIME
Christoph Hellwigbaed7fc2010-03-10 15:21:18 -080034#define __ARCH_WANT_SYS_IPC
Nicolas Pitredd35afc2006-01-14 16:36:12 +000035#define __ARCH_WANT_SYS_OLDUMOUNT
36#define __ARCH_WANT_SYS_ALARM
37#define __ARCH_WANT_SYS_UTIME
38#define __ARCH_WANT_SYS_OLD_GETRLIMIT
39#define __ARCH_WANT_OLD_READDIR
40#define __ARCH_WANT_SYS_SOCKETCALL
41#endif
Al Viro38a61b62012-10-21 15:54:27 -040042#define __ARCH_WANT_SYS_FORK
43#define __ARCH_WANT_SYS_VFORK
44#define __ARCH_WANT_SYS_CLONE
Linus Torvalds1da177e2005-04-16 15:20:36 -070045
Linus Torvalds1da177e2005-04-16 15:20:36 -070046/*
Russell Kingc0510792007-05-16 12:41:15 +010047 * Unimplemented (or alternatively implemented) syscalls
48 */
Russell King4dfa3382011-09-17 12:50:27 +010049#define __IGNORE_fadvise64_64
50#define __IGNORE_migrate_pages
Russell Kingbf619fa2012-09-21 17:55:20 +010051#define __IGNORE_kcmp
Russell Kingc0510792007-05-16 12:41:15 +010052
Linus Torvalds1da177e2005-04-16 15:20:36 -070053#endif /* __ASM_ARM_UNISTD_H */