1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17#include <asm/ppc_asm.h>
18
19#ifdef CONFIG_PPC64
20#define SYSCALL(func) .llong DOTSYM(sys_
21#define COMPAT_SYS(func) .llong DOTSYM(sys_
22#define PPC_SYS(func) .llong DOTSYM(ppc_
23#define OLDSYS(func) .llong DOTSYM(sys_ni_syscall),DOTSYM(sys_ni_syscall)
24#define SYS32ONLY(func) .llong DOTSYM(sys_ni_syscall),DOTSYM(compat_sys_
25#define PPC64ONLY(func) .llong DOTSYM(ppc_
26#define SYSX(f, f3264, f32) .llong DOTSYM(f),DOTSYM(f3264)
27#else
28#define SYSCALL(func) .long sys_
29#define COMPAT_SYS(func) .long sys_
30#define PPC_SYS(func) .long ppc_
31#define OLDSYS(func) .long sys_
32#define SYS32ONLY(func) .long sys_
33#define PPC64ONLY(func) .long sys_ni_syscall
34#define SYSX(f, f3264, f32) .long f32
35#endif
36#define SYSCALL_SPU(func) SYSCALL(func)
37#define COMPAT_SYS_SPU(func) COMPAT_SYS(func)
38#define PPC_SYS_SPU(func) PPC_SYS(func)
39#define SYSX_SPU(f, f3264, f32) SYSX(f, f3264, f32)
40
41.section .rodata,"a"
42
43#ifdef CONFIG_PPC64
44 .p2align 3
45#endif
46
47.globl sys_call_table
48sys_call_table:
49
50#include <asm/systbl.h>
51