diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2007-11-14 20:00:48 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-14 21:45:45 -0500 |
commit | 0c3537ffcad08eabd49d43762fcb9f6da8517d9b (patch) | |
tree | 5614eaec78624c3c6106d2c6a7fd2ea0d27d4509 | |
parent | b956947106c788a3f2ce0375af930b4cbf7454d5 (diff) |
cris build fixes: Add missing syscalls
Add missing syscalls to cris architecture.
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Acked-by: Mikael Starvik <starvik@axis.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | arch/cris/arch-v10/kernel/entry.S | 36 | ||||
-rw-r--r-- | include/asm-cris/unistd.h | 39 |
2 files changed, 74 insertions, 1 deletions
diff --git a/arch/cris/arch-v10/kernel/entry.S b/arch/cris/arch-v10/kernel/entry.S index c5844cb70f09..bc9bed97f225 100644 --- a/arch/cris/arch-v10/kernel/entry.S +++ b/arch/cris/arch-v10/kernel/entry.S | |||
@@ -1135,6 +1135,42 @@ sys_call_table: | |||
1135 | .long sys_add_key | 1135 | .long sys_add_key |
1136 | .long sys_request_key | 1136 | .long sys_request_key |
1137 | .long sys_keyctl | 1137 | .long sys_keyctl |
1138 | .long sys_ioprio_set | ||
1139 | .long sys_ioprio_get /* 290 */ | ||
1140 | .long sys_inotify_init | ||
1141 | .long sys_inotify_add_watch | ||
1142 | .long sys_inotify_rm_watch | ||
1143 | .long sys_migrate_pages | ||
1144 | .long sys_openat /* 295 */ | ||
1145 | .long sys_mkdirat | ||
1146 | .long sys_mknodat | ||
1147 | .long sys_fchownat | ||
1148 | .long sys_futimesat | ||
1149 | .long sys_fstatat64 /* 300 */ | ||
1150 | .long sys_unlinkat | ||
1151 | .long sys_renameat | ||
1152 | .long sys_linkat | ||
1153 | .long sys_symlinkat | ||
1154 | .long sys_readlinkat /* 305 */ | ||
1155 | .long sys_fchmodat | ||
1156 | .long sys_faccessat | ||
1157 | .long sys_pselect6 | ||
1158 | .long sys_ppoll | ||
1159 | .long sys_unshare /* 310 */ | ||
1160 | .long sys_set_robust_list | ||
1161 | .long sys_get_robust_list | ||
1162 | .long sys_splice | ||
1163 | .long sys_sync_file_range | ||
1164 | .long sys_tee /* 315 */ | ||
1165 | .long sys_vmsplice | ||
1166 | .long sys_move_pages | ||
1167 | .long sys_getcpu | ||
1168 | .long sys_epoll_pwait | ||
1169 | .long sys_utimensat /* 320 */ | ||
1170 | .long sys_signalfd | ||
1171 | .long sys_timerfd | ||
1172 | .long sys_eventfd | ||
1173 | .long sys_fallocate | ||
1138 | 1174 | ||
1139 | /* | 1175 | /* |
1140 | * NOTE!! This doesn't have to be exact - we just have | 1176 | * NOTE!! This doesn't have to be exact - we just have |
diff --git a/include/asm-cris/unistd.h b/include/asm-cris/unistd.h index 7c90fa970c38..6f2d924f4fd6 100644 --- a/include/asm-cris/unistd.h +++ b/include/asm-cris/unistd.h | |||
@@ -255,6 +255,7 @@ | |||
255 | #define __NR_io_submit 248 | 255 | #define __NR_io_submit 248 |
256 | #define __NR_io_cancel 249 | 256 | #define __NR_io_cancel 249 |
257 | #define __NR_fadvise64 250 | 257 | #define __NR_fadvise64 250 |
258 | /* 251 is available for reuse (was briefly sys_set_zone_reclaim) */ | ||
258 | #define __NR_exit_group 252 | 259 | #define __NR_exit_group 252 |
259 | #define __NR_lookup_dcookie 253 | 260 | #define __NR_lookup_dcookie 253 |
260 | #define __NR_epoll_create 254 | 261 | #define __NR_epoll_create 254 |
@@ -292,10 +293,46 @@ | |||
292 | #define __NR_add_key 286 | 293 | #define __NR_add_key 286 |
293 | #define __NR_request_key 287 | 294 | #define __NR_request_key 287 |
294 | #define __NR_keyctl 288 | 295 | #define __NR_keyctl 288 |
296 | #define __NR_ioprio_set 289 | ||
297 | #define __NR_ioprio_get 290 | ||
298 | #define __NR_inotify_init 291 | ||
299 | #define __NR_inotify_add_watch 292 | ||
300 | #define __NR_inotify_rm_watch 293 | ||
301 | #define __NR_migrate_pages 294 | ||
302 | #define __NR_openat 295 | ||
303 | #define __NR_mkdirat 296 | ||
304 | #define __NR_mknodat 297 | ||
305 | #define __NR_fchownat 298 | ||
306 | #define __NR_futimesat 299 | ||
307 | #define __NR_fstatat64 300 | ||
308 | #define __NR_unlinkat 301 | ||
309 | #define __NR_renameat 302 | ||
310 | #define __NR_linkat 303 | ||
311 | #define __NR_symlinkat 304 | ||
312 | #define __NR_readlinkat 305 | ||
313 | #define __NR_fchmodat 306 | ||
314 | #define __NR_faccessat 307 | ||
315 | #define __NR_pselect6 308 | ||
316 | #define __NR_ppoll 309 | ||
317 | #define __NR_unshare 310 | ||
318 | #define __NR_set_robust_list 311 | ||
319 | #define __NR_get_robust_list 312 | ||
320 | #define __NR_splice 313 | ||
321 | #define __NR_sync_file_range 314 | ||
322 | #define __NR_tee 315 | ||
323 | #define __NR_vmsplice 316 | ||
324 | #define __NR_move_pages 317 | ||
325 | #define __NR_getcpu 318 | ||
326 | #define __NR_epoll_pwait 319 | ||
327 | #define __NR_utimensat 320 | ||
328 | #define __NR_signalfd 321 | ||
329 | #define __NR_timerfd 322 | ||
330 | #define __NR_eventfd 323 | ||
331 | #define __NR_fallocate 324 | ||
295 | 332 | ||
296 | #ifdef __KERNEL__ | 333 | #ifdef __KERNEL__ |
297 | 334 | ||
298 | #define NR_syscalls 289 | 335 | #define NR_syscalls 325 |
299 | 336 | ||
300 | #include <asm/arch/unistd.h> | 337 | #include <asm/arch/unistd.h> |
301 | 338 | ||