License cleanup: add SPDX license identifier to uapi header files with no license
[linux/fpc-iii.git] / arch / arm / include / uapi / asm / unistd.h
blob28bd456494a338206c9164a8d42624e8e8171fbc
1 /*
2 * arch/arm/include/asm/unistd.h
4 * Copyright (C) 2001-2005 Russell King
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.
10 * Please forward _all_ changes to this file to rmk@arm.linux.org.uk,
11 * no matter what the change is. Thanks!
13 #ifndef _UAPI__ASM_ARM_UNISTD_H
14 #define _UAPI__ASM_ARM_UNISTD_H
16 #define __NR_OABI_SYSCALL_BASE 0x900000
18 #if defined(__thumb__) || defined(__ARM_EABI__)
19 #define __NR_SYSCALL_BASE 0
20 #include <asm/unistd-eabi.h>
21 #else
22 #define __NR_SYSCALL_BASE __NR_OABI_SYSCALL_BASE
23 #include <asm/unistd-oabi.h>
24 #endif
26 #include <asm/unistd-common.h>
27 #define __NR_sync_file_range2 __NR_arm_sync_file_range
30 * The following SWIs are ARM private.
32 #define __ARM_NR_BASE (__NR_SYSCALL_BASE+0x0f0000)
33 #define __ARM_NR_breakpoint (__ARM_NR_BASE+1)
34 #define __ARM_NR_cacheflush (__ARM_NR_BASE+2)
35 #define __ARM_NR_usr26 (__ARM_NR_BASE+3)
36 #define __ARM_NR_usr32 (__ARM_NR_BASE+4)
37 #define __ARM_NR_set_tls (__ARM_NR_BASE+5)
39 #endif /* _UAPI__ASM_ARM_UNISTD_H */