Skip to content

Commit b1e31c1

Browse files
committed
powerpc: restore some missing spu syscalls
A couple of system calls were inadventently removed from the table during a bugfix for 32-bit powerpc entry. Restore the original behavior. Fixes: e237506 ("powerpc/32: fix syscall wrappers with 64-bit arguments of unaligned register-pairs") Acked-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 403f17a commit b1e31c1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arch/powerpc/kernel/syscalls/syscall.tbl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,10 @@
230230
178 nospu rt_sigsuspend sys_rt_sigsuspend compat_sys_rt_sigsuspend
231231
179 32 pread64 sys_ppc_pread64 compat_sys_ppc_pread64
232232
179 64 pread64 sys_pread64
233+
179 spu pread64 sys_pread64
233234
180 32 pwrite64 sys_ppc_pwrite64 compat_sys_ppc_pwrite64
234235
180 64 pwrite64 sys_pwrite64
236+
180 spu pwrite64 sys_pwrite64
235237
181 common chown sys_chown
236238
182 common getcwd sys_getcwd
237239
183 common capget sys_capget
@@ -246,6 +248,7 @@
246248
190 common ugetrlimit sys_getrlimit compat_sys_getrlimit
247249
191 32 readahead sys_ppc_readahead compat_sys_ppc_readahead
248250
191 64 readahead sys_readahead
251+
191 spu readahead sys_readahead
249252
192 32 mmap2 sys_mmap2 compat_sys_mmap2
250253
193 32 truncate64 sys_ppc_truncate64 compat_sys_ppc_truncate64
251254
194 32 ftruncate64 sys_ppc_ftruncate64 compat_sys_ppc_ftruncate64
@@ -293,6 +296,7 @@
293296
232 nospu set_tid_address sys_set_tid_address
294297
233 32 fadvise64 sys_ppc32_fadvise64 compat_sys_ppc32_fadvise64
295298
233 64 fadvise64 sys_fadvise64
299+
233 spu fadvise64 sys_fadvise64
296300
234 nospu exit_group sys_exit_group
297301
235 nospu lookup_dcookie sys_ni_syscall
298302
236 common epoll_create sys_epoll_create

0 commit comments

Comments
 (0)