diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-25 17:31:11 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-03 18:16:09 -0500 |
commit | a31dd96ff7037538dcd98680715e5106e691c26e (patch) | |
tree | 0cfcf11247c6466dce83468f63ea7109100e7e84 /arch/powerpc/include/asm/systbl.h | |
parent | 0980caea80ffffbaf78112621edd0c3553f44ef0 (diff) |
powerpc: kill pointless wrappers
SYSCALL_DEFINE and COMPAT_SYSCALL_DEFINE do all argument normalization
we need.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/powerpc/include/asm/systbl.h')
-rw-r--r-- | arch/powerpc/include/asm/systbl.h | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/arch/powerpc/include/asm/systbl.h b/arch/powerpc/include/asm/systbl.h index 66a21c15e7cb..d906f33441c6 100644 --- a/arch/powerpc/include/asm/systbl.h +++ b/arch/powerpc/include/asm/systbl.h | |||
@@ -10,8 +10,8 @@ SYSCALL_SPU(read) | |||
10 | SYSCALL_SPU(write) | 10 | SYSCALL_SPU(write) |
11 | COMPAT_SYS_SPU(open) | 11 | COMPAT_SYS_SPU(open) |
12 | SYSCALL_SPU(close) | 12 | SYSCALL_SPU(close) |
13 | COMPAT_SYS_SPU(waitpid) | 13 | SYSCALL_SPU(waitpid) |
14 | COMPAT_SYS_SPU(creat) | 14 | SYSCALL_SPU(creat) |
15 | SYSCALL_SPU(link) | 15 | SYSCALL_SPU(link) |
16 | SYSCALL_SPU(unlink) | 16 | SYSCALL_SPU(unlink) |
17 | COMPAT_SYS(execve) | 17 | COMPAT_SYS(execve) |
@@ -36,13 +36,13 @@ SYSCALL(pause) | |||
36 | COMPAT_SYS(utime) | 36 | COMPAT_SYS(utime) |
37 | SYSCALL(ni_syscall) | 37 | SYSCALL(ni_syscall) |
38 | SYSCALL(ni_syscall) | 38 | SYSCALL(ni_syscall) |
39 | COMPAT_SYS_SPU(access) | 39 | SYSCALL_SPU(access) |
40 | COMPAT_SYS_SPU(nice) | 40 | SYSCALL_SPU(nice) |
41 | SYSCALL(ni_syscall) | 41 | SYSCALL(ni_syscall) |
42 | SYSCALL_SPU(sync) | 42 | SYSCALL_SPU(sync) |
43 | COMPAT_SYS_SPU(kill) | 43 | SYSCALL_SPU(kill) |
44 | SYSCALL_SPU(rename) | 44 | SYSCALL_SPU(rename) |
45 | COMPAT_SYS_SPU(mkdir) | 45 | SYSCALL_SPU(mkdir) |
46 | SYSCALL_SPU(rmdir) | 46 | SYSCALL_SPU(rmdir) |
47 | SYSCALL_SPU(dup) | 47 | SYSCALL_SPU(dup) |
48 | SYSCALL_SPU(pipe) | 48 | SYSCALL_SPU(pipe) |
@@ -60,10 +60,10 @@ SYSCALL(ni_syscall) | |||
60 | COMPAT_SYS_SPU(ioctl) | 60 | COMPAT_SYS_SPU(ioctl) |
61 | COMPAT_SYS_SPU(fcntl) | 61 | COMPAT_SYS_SPU(fcntl) |
62 | SYSCALL(ni_syscall) | 62 | SYSCALL(ni_syscall) |
63 | COMPAT_SYS_SPU(setpgid) | 63 | SYSCALL_SPU(setpgid) |
64 | SYSCALL(ni_syscall) | 64 | SYSCALL(ni_syscall) |
65 | SYSX(sys_ni_syscall,sys_olduname, sys_olduname) | 65 | SYSX(sys_ni_syscall,sys_olduname, sys_olduname) |
66 | COMPAT_SYS_SPU(umask) | 66 | SYSCALL_SPU(umask) |
67 | SYSCALL_SPU(chroot) | 67 | SYSCALL_SPU(chroot) |
68 | COMPAT_SYS(ustat) | 68 | COMPAT_SYS(ustat) |
69 | SYSCALL_SPU(dup2) | 69 | SYSCALL_SPU(dup2) |
@@ -72,24 +72,24 @@ SYSCALL_SPU(getpgrp) | |||
72 | SYSCALL_SPU(setsid) | 72 | SYSCALL_SPU(setsid) |
73 | SYS32ONLY(sigaction) | 73 | SYS32ONLY(sigaction) |
74 | SYSCALL_SPU(sgetmask) | 74 | SYSCALL_SPU(sgetmask) |
75 | COMPAT_SYS_SPU(ssetmask) | 75 | SYSCALL_SPU(ssetmask) |
76 | SYSCALL_SPU(setreuid) | 76 | SYSCALL_SPU(setreuid) |
77 | SYSCALL_SPU(setregid) | 77 | SYSCALL_SPU(setregid) |
78 | #define compat_sys_sigsuspend sys_sigsuspend | 78 | #define compat_sys_sigsuspend sys_sigsuspend |
79 | SYS32ONLY(sigsuspend) | 79 | SYS32ONLY(sigsuspend) |
80 | COMPAT_SYS(sigpending) | 80 | COMPAT_SYS(sigpending) |
81 | COMPAT_SYS_SPU(sethostname) | 81 | SYSCALL_SPU(sethostname) |
82 | COMPAT_SYS_SPU(setrlimit) | 82 | COMPAT_SYS_SPU(setrlimit) |
83 | COMPAT_SYS(old_getrlimit) | 83 | COMPAT_SYS(old_getrlimit) |
84 | COMPAT_SYS_SPU(getrusage) | 84 | COMPAT_SYS_SPU(getrusage) |
85 | COMPAT_SYS_SPU(gettimeofday) | 85 | COMPAT_SYS_SPU(gettimeofday) |
86 | COMPAT_SYS_SPU(settimeofday) | 86 | COMPAT_SYS_SPU(settimeofday) |
87 | COMPAT_SYS_SPU(getgroups) | 87 | SYSCALL_SPU(getgroups) |
88 | COMPAT_SYS_SPU(setgroups) | 88 | SYSCALL_SPU(setgroups) |
89 | SYSX(sys_ni_syscall,sys_ni_syscall,ppc_select) | 89 | SYSX(sys_ni_syscall,sys_ni_syscall,ppc_select) |
90 | SYSCALL_SPU(symlink) | 90 | SYSCALL_SPU(symlink) |
91 | OLDSYS(lstat) | 91 | OLDSYS(lstat) |
92 | COMPAT_SYS_SPU(readlink) | 92 | SYSCALL_SPU(readlink) |
93 | SYSCALL(uselib) | 93 | SYSCALL(uselib) |
94 | SYSCALL(swapon) | 94 | SYSCALL(swapon) |
95 | SYSCALL(reboot) | 95 | SYSCALL(reboot) |
@@ -100,14 +100,14 @@ COMPAT_SYS_SPU(truncate) | |||
100 | COMPAT_SYS_SPU(ftruncate) | 100 | COMPAT_SYS_SPU(ftruncate) |
101 | SYSCALL_SPU(fchmod) | 101 | SYSCALL_SPU(fchmod) |
102 | SYSCALL_SPU(fchown) | 102 | SYSCALL_SPU(fchown) |
103 | COMPAT_SYS_SPU(getpriority) | 103 | SYSCALL_SPU(getpriority) |
104 | COMPAT_SYS_SPU(setpriority) | 104 | SYSCALL_SPU(setpriority) |
105 | SYSCALL(ni_syscall) | 105 | SYSCALL(ni_syscall) |
106 | COMPAT_SYS(statfs) | 106 | COMPAT_SYS(statfs) |
107 | COMPAT_SYS(fstatfs) | 107 | COMPAT_SYS(fstatfs) |
108 | SYSCALL(ni_syscall) | 108 | SYSCALL(ni_syscall) |
109 | COMPAT_SYS_SPU(socketcall) | 109 | COMPAT_SYS_SPU(socketcall) |
110 | COMPAT_SYS_SPU(syslog) | 110 | SYSCALL_SPU(syslog) |
111 | COMPAT_SYS_SPU(setitimer) | 111 | COMPAT_SYS_SPU(setitimer) |
112 | COMPAT_SYS_SPU(getitimer) | 112 | COMPAT_SYS_SPU(getitimer) |
113 | COMPAT_SYS_SPU(newstat) | 113 | COMPAT_SYS_SPU(newstat) |
@@ -125,7 +125,7 @@ COMPAT_SYS(ipc) | |||
125 | SYSCALL_SPU(fsync) | 125 | SYSCALL_SPU(fsync) |
126 | SYS32ONLY(sigreturn) | 126 | SYS32ONLY(sigreturn) |
127 | PPC_SYS(clone) | 127 | PPC_SYS(clone) |
128 | COMPAT_SYS_SPU(setdomainname) | 128 | SYSCALL_SPU(setdomainname) |
129 | SYSCALL_SPU(newuname) | 129 | SYSCALL_SPU(newuname) |
130 | SYSCALL(ni_syscall) | 130 | SYSCALL(ni_syscall) |
131 | COMPAT_SYS_SPU(adjtimex) | 131 | COMPAT_SYS_SPU(adjtimex) |
@@ -136,10 +136,10 @@ SYSCALL(init_module) | |||
136 | SYSCALL(delete_module) | 136 | SYSCALL(delete_module) |
137 | SYSCALL(ni_syscall) | 137 | SYSCALL(ni_syscall) |
138 | SYSCALL(quotactl) | 138 | SYSCALL(quotactl) |
139 | COMPAT_SYS_SPU(getpgid) | 139 | SYSCALL_SPU(getpgid) |
140 | SYSCALL_SPU(fchdir) | 140 | SYSCALL_SPU(fchdir) |
141 | SYSCALL_SPU(bdflush) | 141 | SYSCALL_SPU(bdflush) |
142 | COMPAT_SYS(sysfs) | 142 | SYSCALL_SPU(sysfs) |
143 | SYSX_SPU(ppc64_personality,ppc64_personality,sys_personality) | 143 | SYSX_SPU(ppc64_personality,ppc64_personality,sys_personality) |
144 | SYSCALL(ni_syscall) | 144 | SYSCALL(ni_syscall) |
145 | SYSCALL_SPU(setfsuid) | 145 | SYSCALL_SPU(setfsuid) |
@@ -151,21 +151,21 @@ SYSCALL_SPU(flock) | |||
151 | SYSCALL_SPU(msync) | 151 | SYSCALL_SPU(msync) |
152 | COMPAT_SYS_SPU(readv) | 152 | COMPAT_SYS_SPU(readv) |
153 | COMPAT_SYS_SPU(writev) | 153 | COMPAT_SYS_SPU(writev) |
154 | COMPAT_SYS_SPU(getsid) | 154 | SYSCALL_SPU(getsid) |
155 | SYSCALL_SPU(fdatasync) | 155 | SYSCALL_SPU(fdatasync) |
156 | COMPAT_SYS(sysctl) | 156 | COMPAT_SYS(sysctl) |
157 | SYSCALL_SPU(mlock) | 157 | SYSCALL_SPU(mlock) |
158 | SYSCALL_SPU(munlock) | 158 | SYSCALL_SPU(munlock) |
159 | SYSCALL_SPU(mlockall) | 159 | SYSCALL_SPU(mlockall) |
160 | SYSCALL_SPU(munlockall) | 160 | SYSCALL_SPU(munlockall) |
161 | COMPAT_SYS_SPU(sched_setparam) | 161 | SYSCALL_SPU(sched_setparam) |
162 | COMPAT_SYS_SPU(sched_getparam) | 162 | SYSCALL_SPU(sched_getparam) |
163 | COMPAT_SYS_SPU(sched_setscheduler) | 163 | SYSCALL_SPU(sched_setscheduler) |
164 | COMPAT_SYS_SPU(sched_getscheduler) | 164 | SYSCALL_SPU(sched_getscheduler) |
165 | SYSCALL_SPU(sched_yield) | 165 | SYSCALL_SPU(sched_yield) |
166 | COMPAT_SYS_SPU(sched_get_priority_max) | 166 | SYSCALL_SPU(sched_get_priority_max) |
167 | COMPAT_SYS_SPU(sched_get_priority_min) | 167 | SYSCALL_SPU(sched_get_priority_min) |
168 | SYSX_SPU(sys_sched_rr_get_interval,compat_sys_sched_rr_get_interval_wrapper,sys_sched_rr_get_interval) | 168 | COMPAT_SYS_SPU(sched_rr_get_interval) |
169 | COMPAT_SYS_SPU(nanosleep) | 169 | COMPAT_SYS_SPU(nanosleep) |
170 | SYSCALL_SPU(mremap) | 170 | SYSCALL_SPU(mremap) |
171 | SYSCALL_SPU(setresuid) | 171 | SYSCALL_SPU(setresuid) |
@@ -175,7 +175,7 @@ SYSCALL_SPU(poll) | |||
175 | SYSCALL(ni_syscall) | 175 | SYSCALL(ni_syscall) |
176 | SYSCALL_SPU(setresgid) | 176 | SYSCALL_SPU(setresgid) |
177 | SYSCALL_SPU(getresgid) | 177 | SYSCALL_SPU(getresgid) |
178 | COMPAT_SYS_SPU(prctl) | 178 | SYSCALL_SPU(prctl) |
179 | COMPAT_SYS(rt_sigreturn) | 179 | COMPAT_SYS(rt_sigreturn) |
180 | COMPAT_SYS(rt_sigaction) | 180 | COMPAT_SYS(rt_sigaction) |
181 | COMPAT_SYS(rt_sigprocmask) | 181 | COMPAT_SYS(rt_sigprocmask) |
@@ -254,7 +254,7 @@ COMPAT_SYS_SPU(clock_gettime) | |||
254 | COMPAT_SYS_SPU(clock_getres) | 254 | COMPAT_SYS_SPU(clock_getres) |
255 | COMPAT_SYS_SPU(clock_nanosleep) | 255 | COMPAT_SYS_SPU(clock_nanosleep) |
256 | SYSX(ppc64_swapcontext,ppc32_swapcontext,ppc_swapcontext) | 256 | SYSX(ppc64_swapcontext,ppc32_swapcontext,ppc_swapcontext) |
257 | COMPAT_SYS_SPU(tgkill) | 257 | SYSCALL_SPU(tgkill) |
258 | COMPAT_SYS_SPU(utimes) | 258 | COMPAT_SYS_SPU(utimes) |
259 | COMPAT_SYS_SPU(statfs64) | 259 | COMPAT_SYS_SPU(statfs64) |
260 | COMPAT_SYS_SPU(fstatfs64) | 260 | COMPAT_SYS_SPU(fstatfs64) |
@@ -277,8 +277,8 @@ COMPAT_SYS(add_key) | |||
277 | COMPAT_SYS(request_key) | 277 | COMPAT_SYS(request_key) |
278 | COMPAT_SYS(keyctl) | 278 | COMPAT_SYS(keyctl) |
279 | COMPAT_SYS(waitid) | 279 | COMPAT_SYS(waitid) |
280 | COMPAT_SYS(ioprio_set) | 280 | SYSCALL(ioprio_set) |
281 | COMPAT_SYS(ioprio_get) | 281 | SYSCALL(ioprio_get) |
282 | SYSCALL(inotify_init) | 282 | SYSCALL(inotify_init) |
283 | SYSCALL(inotify_add_watch) | 283 | SYSCALL(inotify_add_watch) |
284 | SYSCALL(inotify_rm_watch) | 284 | SYSCALL(inotify_rm_watch) |