diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2006-10-12 17:18:53 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-13 11:35:39 -0400 |
commit | e0fafda36a2fc5ecf8d11771f6c01c523b2a1fd8 (patch) | |
tree | 200bfcd12a599b7ddac6f4904b3dd053cf287916 | |
parent | 6569345abbcdbd1e13915a3bc5033c98817d0ec6 (diff) |
[PATCH] m68knommu: sync syscalls with m68k
m68knommu: sync syscalls with m68k
Signed-Off-By: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-Off-By: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | arch/m68knommu/kernel/syscalltable.S | 37 | ||||
-rw-r--r-- | include/asm-m68knommu/unistd.h | 35 |
2 files changed, 65 insertions, 7 deletions
diff --git a/arch/m68knommu/kernel/syscalltable.S b/arch/m68knommu/kernel/syscalltable.S index 617e43ec95ae..4603f4f3c935 100644 --- a/arch/m68knommu/kernel/syscalltable.S +++ b/arch/m68knommu/kernel/syscalltable.S | |||
@@ -296,10 +296,39 @@ ENTRY(sys_call_table) | |||
296 | .long sys_mq_notify /* 275 */ | 296 | .long sys_mq_notify /* 275 */ |
297 | .long sys_mq_getsetattr | 297 | .long sys_mq_getsetattr |
298 | .long sys_waitid | 298 | .long sys_waitid |
299 | .long sys_ni_syscall /* sys_setaltroot */ | 299 | .long sys_ni_syscall /* for sys_vserver */ |
300 | .long sys_ni_syscall /* sys_add_key */ | 300 | .long sys_add_key |
301 | .long sys_ni_syscall /* 280 */ /* sys_request_key */ | 301 | .long sys_request_key /* 280 */ |
302 | .long sys_ni_syscall /* sys_keyctl */ | 302 | .long sys_keyctl |
303 | .long sys_ioprio_set | ||
304 | .long sys_ioprio_get | ||
305 | .long sys_inotify_init | ||
306 | .long sys_inotify_add_watch /* 285 */ | ||
307 | .long sys_inotify_rm_watch | ||
308 | .long sys_migrate_pages | ||
309 | .long sys_openat | ||
310 | .long sys_mkdirat | ||
311 | .long sys_mknodat /* 290 */ | ||
312 | .long sys_fchownat | ||
313 | .long sys_futimesat | ||
314 | .long sys_fstatat64 | ||
315 | .long sys_unlinkat | ||
316 | .long sys_renameat /* 295 */ | ||
317 | .long sys_linkat | ||
318 | .long sys_symlinkat | ||
319 | .long sys_readlinkat | ||
320 | .long sys_fchmodat | ||
321 | .long sys_faccessat /* 300 */ | ||
322 | .long sys_ni_syscall /* Reserved for pselect6 */ | ||
323 | .long sys_ni_syscall /* Reserved for ppoll */ | ||
324 | .long sys_unshare | ||
325 | .long sys_set_robust_list | ||
326 | .long sys_get_robust_list /* 305 */ | ||
327 | .long sys_splice | ||
328 | .long sys_sync_file_range | ||
329 | .long sys_tee | ||
330 | .long sys_vmsplice | ||
331 | .long sys_move_pages /* 310 */ | ||
303 | 332 | ||
304 | .rept NR_syscalls-(.-sys_call_table)/4 | 333 | .rept NR_syscalls-(.-sys_call_table)/4 |
305 | .long sys_ni_syscall | 334 | .long sys_ni_syscall |
diff --git a/include/asm-m68knommu/unistd.h b/include/asm-m68knommu/unistd.h index daafb5d43ef1..ebaf03197114 100644 --- a/include/asm-m68knommu/unistd.h +++ b/include/asm-m68knommu/unistd.h | |||
@@ -281,14 +281,43 @@ | |||
281 | #define __NR_mq_notify 275 | 281 | #define __NR_mq_notify 275 |
282 | #define __NR_mq_getsetattr 276 | 282 | #define __NR_mq_getsetattr 276 |
283 | #define __NR_waitid 277 | 283 | #define __NR_waitid 277 |
284 | #define __NR_sys_setaltroot 278 | 284 | #define __NR_vserver 278 |
285 | #define __NR_add_key 279 | 285 | #define __NR_add_key 279 |
286 | #define __NR_request_key 280 | 286 | #define __NR_request_key 280 |
287 | #define __NR_keyctl 281 | 287 | #define __NR_keyctl 281 |
288 | 288 | #define __NR_ioprio_set 282 | |
289 | #define __NR_ioprio_get 283 | ||
290 | #define __NR_inotify_init 284 | ||
291 | #define __NR_inotify_add_watch 285 | ||
292 | #define __NR_inotify_rm_watch 286 | ||
293 | #define __NR_migrate_pages 287 | ||
294 | #define __NR_openat 288 | ||
295 | #define __NR_mkdirat 289 | ||
296 | #define __NR_mknodat 290 | ||
297 | #define __NR_fchownat 291 | ||
298 | #define __NR_futimesat 292 | ||
299 | #define __NR_fstatat64 293 | ||
300 | #define __NR_unlinkat 294 | ||
301 | #define __NR_renameat 295 | ||
302 | #define __NR_linkat 296 | ||
303 | #define __NR_symlinkat 297 | ||
304 | #define __NR_readlinkat 298 | ||
305 | #define __NR_fchmodat 299 | ||
306 | #define __NR_faccessat 300 | ||
307 | #define __NR_pselect6 301 | ||
308 | #define __NR_ppoll 302 | ||
309 | #define __NR_unshare 303 | ||
310 | #define __NR_set_robust_list 304 | ||
311 | #define __NR_get_robust_list 305 | ||
312 | #define __NR_splice 306 | ||
313 | #define __NR_sync_file_range 307 | ||
314 | #define __NR_tee 308 | ||
315 | #define __NR_vmsplice 309 | ||
316 | #define __NR_move_pages 310 | ||
317 | |||
289 | #ifdef __KERNEL__ | 318 | #ifdef __KERNEL__ |
290 | 319 | ||
291 | #define NR_syscalls 282 | 320 | #define NR_syscalls 311 |
292 | #include <linux/err.h> | 321 | #include <linux/err.h> |
293 | 322 | ||
294 | /* user-visible error numbers are in the range -1 - -MAX_ERRNO: see | 323 | /* user-visible error numbers are in the range -1 - -MAX_ERRNO: see |