.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * System call callback functions for SPUs |
---|
3 | 4 | */ |
---|
.. | .. |
---|
34 | 35 | */ |
---|
35 | 36 | |
---|
36 | 37 | static void *spu_syscall_table[] = { |
---|
37 | | -#define SYSCALL(func) sys_ni_syscall, |
---|
38 | | -#define COMPAT_SYS(func) sys_ni_syscall, |
---|
39 | | -#define PPC_SYS(func) sys_ni_syscall, |
---|
40 | | -#define OLDSYS(func) sys_ni_syscall, |
---|
41 | | -#define SYS32ONLY(func) sys_ni_syscall, |
---|
42 | | -#define PPC64ONLY(func) sys_ni_syscall, |
---|
43 | | -#define SYSX(f, f3264, f32) sys_ni_syscall, |
---|
44 | | - |
---|
45 | | -#define SYSCALL_SPU(func) sys_##func, |
---|
46 | | -#define COMPAT_SYS_SPU(func) sys_##func, |
---|
47 | | -#define COMPAT_SPU_NEW(func) sys_##func, |
---|
48 | | -#define SYSX_SPU(f, f3264, f32) f, |
---|
49 | | - |
---|
50 | | -#include <asm/systbl.h> |
---|
| 38 | +#define __SYSCALL(nr, entry) [nr] = entry, |
---|
| 39 | +#include <asm/syscall_table_spu.h> |
---|
| 40 | +#undef __SYSCALL |
---|
51 | 41 | }; |
---|
52 | 42 | |
---|
53 | 43 | long spu_sys_callback(struct spu_syscall_block *s) |
---|