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