James Hogan | 26025bb | 2012-10-09 10:54:51 +0100 | [diff] [blame] | 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 | /* Use the standard ABI for syscalls. */ |
| 11 | #include <asm-generic/unistd.h> |
| 12 | |
| 13 | /* metag-specific syscalls. */ |
| 14 | #define __NR_metag_setglobalbit (__NR_arch_specific_syscall + 1) |
| 15 | __SYSCALL(__NR_metag_setglobalbit, sys_metag_setglobalbit) |
| 16 | #define __NR_metag_set_fpu_flags (__NR_arch_specific_syscall + 2) |
| 17 | __SYSCALL(__NR_metag_set_fpu_flags, sys_metag_set_fpu_flags) |
| 18 | #define __NR_metag_set_tls (__NR_arch_specific_syscall + 3) |
| 19 | __SYSCALL(__NR_metag_set_tls, sys_metag_set_tls) |
| 20 | #define __NR_metag_get_tls (__NR_arch_specific_syscall + 4) |
| 21 | __SYSCALL(__NR_metag_get_tls, sys_metag_get_tls) |