blob: b80b8e899d22dfd202bbf8b9403a48b342d3462e [file] [log] [blame]
James Hogan26025bb2012-10-09 10:54:51 +01001/*
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)