Imported Upstream version 0.3.113
[platform/upstream/libaio.git] / src / syscall-arm.h
1 /*
2  *  linux/include/asm-arm/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
14 #define __NR_OABI_SYSCALL_BASE  0x900000
15
16 #if defined(__thumb__) || defined(__ARM_EABI__)
17 #define __NR_SYSCALL_BASE       0
18 #else
19 #define __NR_SYSCALL_BASE       __NR_OABI_SYSCALL_BASE
20 #endif
21
22 #define __NR_io_setup                   (__NR_SYSCALL_BASE+243)
23 #define __NR_io_destroy                 (__NR_SYSCALL_BASE+244)
24 #define __NR_io_getevents               (__NR_SYSCALL_BASE+245)
25 #define __NR_io_submit                  (__NR_SYSCALL_BASE+246)
26 #define __NR_io_cancel                  (__NR_SYSCALL_BASE+247)