Skip to content

Commit

Permalink
[Blackfin] arch: to kill syscalls missing warning by adding new timer…
Browse files Browse the repository at this point in the history
…fd syscalls

Signed-off-by: Bryan Wu <cooloney@kernel.org>
  • Loading branch information
Bryan Wu committed Mar 6, 2008
1 parent 29e8c3c commit 2f775db
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion arch/blackfin/mach-common/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -1369,7 +1369,7 @@ ENTRY(_sys_call_table)
.long _sys_epoll_pwait
.long _sys_utimensat
.long _sys_signalfd
.long _sys_ni_syscall
.long _sys_timerfd_create
.long _sys_eventfd /* 350 */
.long _sys_pread64
.long _sys_pwrite64
Expand All @@ -1378,6 +1378,9 @@ ENTRY(_sys_call_table)
.long _sys_get_robust_list /* 355 */
.long _sys_fallocate
.long _sys_semtimedop
.long _sys_timerfd_settime
.long _sys_timerfd_gettime

.rept NR_syscalls-(.-_sys_call_table)/4
.long _sys_ni_syscall
.endr
Expand Down
6 changes: 4 additions & 2 deletions include/asm-blackfin/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@
#define __NR_epoll_pwait 346
#define __NR_utimensat 347
#define __NR_signalfd 348
#define __NR_timerfd 349
#define __NR_timerfd_create 349
#define __NR_eventfd 350
#define __NR_pread64 351
#define __NR_pwrite64 352
Expand All @@ -370,8 +370,10 @@
#define __NR_get_robust_list 355
#define __NR_fallocate 356
#define __NR_semtimedop 357
#define __NR_timerfd_settime 358
#define __NR_timerfd_gettime 359

#define __NR_syscall 358
#define __NR_syscall 360
#define NR_syscalls __NR_syscall

/* Old optional stuff no one actually uses */
Expand Down

0 comments on commit 2f775db

Please sign in to comment.