Merge branches 'pm-core' and 'pm-domains'
[linux-2.6-block.git] / arch / arm / include / asm / unistd.h
CommitLineData
1da177e4 1/*
4baa9922 2 * arch/arm/include/asm/unistd.h
1da177e4
LT
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
cb8db5d4 16#include <uapi/asm/unistd.h>
3f2829a3 17
bc994c77
BS
18/*
19 * This may need to be greater than __NR_last_syscall+1 in order to
20 * account for the padding in the syscall table
21 */
f2335a2a 22#define __NR_syscalls (396)
bc994c77 23
1da177e4 24#define __ARCH_WANT_STAT64
1da177e4
LT
25#define __ARCH_WANT_SYS_GETHOSTNAME
26#define __ARCH_WANT_SYS_PAUSE
1da177e4
LT
27#define __ARCH_WANT_SYS_GETPGRP
28#define __ARCH_WANT_SYS_LLSEEK
29#define __ARCH_WANT_SYS_NICE
1da177e4
LT
30#define __ARCH_WANT_SYS_SIGPENDING
31#define __ARCH_WANT_SYS_SIGPROCMASK
a4679373 32#define __ARCH_WANT_SYS_OLD_MMAP
5d0e5283 33#define __ARCH_WANT_SYS_OLD_SELECT
dd35afc2
NP
34
35#if !defined(CONFIG_AEABI) || defined(CONFIG_OABI_COMPAT)
36#define __ARCH_WANT_SYS_TIME
baed7fc9 37#define __ARCH_WANT_SYS_IPC
dd35afc2
NP
38#define __ARCH_WANT_SYS_OLDUMOUNT
39#define __ARCH_WANT_SYS_ALARM
40#define __ARCH_WANT_SYS_UTIME
41#define __ARCH_WANT_SYS_OLD_GETRLIMIT
42#define __ARCH_WANT_OLD_READDIR
43#define __ARCH_WANT_SYS_SOCKETCALL
44#endif
38a61b6b
AV
45#define __ARCH_WANT_SYS_FORK
46#define __ARCH_WANT_SYS_VFORK
47#define __ARCH_WANT_SYS_CLONE
1da177e4 48
c0510791
RK
49/*
50 * Unimplemented (or alternatively implemented) syscalls
51 */
4dfa3386
RK
52#define __IGNORE_fadvise64_64
53#define __IGNORE_migrate_pages
c0510791 54
1da177e4 55#endif /* __ASM_ARM_UNISTD_H */