1 /* 2 * Copyright (C) 2012 Imagination Technologies Ltd. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 */ 9 10 #define __ARCH_WANT_RENAMEAT 11 12 /* Use the standard ABI for syscalls. */ 13 #include <asm-generic/unistd.h> 14 15 /* metag-specific syscalls. */ 16 #define __NR_metag_setglobalbit (__NR_arch_specific_syscall + 1) 17 __SYSCALL(__NR_metag_setglobalbit, sys_metag_setglobalbit) 18 #define __NR_metag_set_fpu_flags (__NR_arch_specific_syscall + 2) 19 __SYSCALL(__NR_metag_set_fpu_flags, sys_metag_set_fpu_flags) 20 #define __NR_metag_set_tls (__NR_arch_specific_syscall + 3) 21 __SYSCALL(__NR_metag_set_tls, sys_metag_set_tls) 22 #define __NR_metag_get_tls (__NR_arch_specific_syscall + 4) 23 __SYSCALL(__NR_metag_get_tls, sys_metag_get_tls) 24