diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 01:36:44 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 01:36:44 -0400 |
commit | 75c92acdd5b19a5e3536ed670e1122d73c635b4a (patch) | |
tree | 9925f84c4c286c5ad52af61bb6dec672722c1a5e | |
parent | ef9a1d4c0c383f75710f6adf2abb8cc264877e2c (diff) |
sh: Wire up new syscalls.
The syscall table has lagged behind a bit, wire up the new ones..
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/sh/kernel/syscalls.S | 28 | ||||
-rw-r--r-- | include/asm-sh/unistd.h | 26 |
2 files changed, 52 insertions, 2 deletions
diff --git a/arch/sh/kernel/syscalls.S b/arch/sh/kernel/syscalls.S index f500304cbd6..ada61b0d9a7 100644 --- a/arch/sh/kernel/syscalls.S +++ b/arch/sh/kernel/syscalls.S | |||
@@ -322,3 +322,31 @@ ENTRY(sys_call_table) | |||
322 | .long sys_add_key /* 285 */ | 322 | .long sys_add_key /* 285 */ |
323 | .long sys_request_key | 323 | .long sys_request_key |
324 | .long sys_keyctl | 324 | .long sys_keyctl |
325 | .long sys_ioprio_set | ||
326 | .long sys_ioprio_get | ||
327 | .long sys_inotify_init /* 290 */ | ||
328 | .long sys_inotify_add_watch | ||
329 | .long sys_inotify_rm_watch | ||
330 | .long sys_migrate_pages | ||
331 | .long sys_openat | ||
332 | .long sys_mkdirat /* 295 */ | ||
333 | .long sys_mknodat | ||
334 | .long sys_fchownat | ||
335 | .long sys_futimesat | ||
336 | .long sys_fstatat64 | ||
337 | .long sys_unlinkat /* 300 */ | ||
338 | .long sys_renameat | ||
339 | .long sys_linkat | ||
340 | .long sys_symlinkat | ||
341 | .long sys_readlinkat | ||
342 | .long sys_fchmodat /* 305 */ | ||
343 | .long sys_faccessat | ||
344 | .long sys_ni_syscall /* Reserved for pselect6 */ | ||
345 | .long sys_ni_syscall /* Reserved for ppoll */ | ||
346 | .long sys_unshare | ||
347 | .long sys_set_robust_list /* 310 */ | ||
348 | .long sys_get_robust_list | ||
349 | .long sys_splice | ||
350 | .long sys_sync_file_range | ||
351 | .long sys_tee | ||
352 | .long sys_vmsplice /* 315 */ | ||
diff --git a/include/asm-sh/unistd.h b/include/asm-sh/unistd.h index 76b5430cb45..49c6a6ee0ab 100644 --- a/include/asm-sh/unistd.h +++ b/include/asm-sh/unistd.h | |||
@@ -300,9 +300,31 @@ | |||
300 | #define __NR_inotify_init 290 | 300 | #define __NR_inotify_init 290 |
301 | #define __NR_inotify_add_watch 291 | 301 | #define __NR_inotify_add_watch 291 |
302 | #define __NR_inotify_rm_watch 292 | 302 | #define __NR_inotify_rm_watch 292 |
303 | #define __NR_migrate_pages 293 | ||
304 | #define __NR_openat 294 | ||
305 | #define __NR_mkdirat 295 | ||
306 | #define __NR_mknodat 296 | ||
307 | #define __NR_fchownat 297 | ||
308 | #define __NR_futimesat 298 | ||
309 | #define __NR_fstatat64 299 | ||
310 | #define __NR_unlinkat 300 | ||
311 | #define __NR_renameat 301 | ||
312 | #define __NR_linkat 302 | ||
313 | #define __NR_symlinkat 303 | ||
314 | #define __NR_readlinkat 304 | ||
315 | #define __NR_fchmodat 305 | ||
316 | #define __NR_faccessat 305 | ||
317 | #define __NR_pselect6 307 | ||
318 | #define __NR_ppoll 308 | ||
319 | #define __NR_unshare 309 | ||
320 | #define __NR_set_robust_list 310 | ||
321 | #define __NR_get_robust_list 311 | ||
322 | #define __NR_splice 312 | ||
323 | #define __NR_sync_file_range 313 | ||
324 | #define __NR_tee 314 | ||
325 | #define __NR_vmsplice 315 | ||
303 | 326 | ||
304 | 327 | #define NR_syscalls 316 | |
305 | #define NR_syscalls 293 | ||
306 | 328 | ||
307 | #ifdef __KERNEL__ | 329 | #ifdef __KERNEL__ |
308 | 330 | ||