Skip to content

Commit

Permalink
[Blackfin] arch: Add the semtimedop syscall. Upstream uClibc doesn't …
Browse files Browse the repository at this point in the history
…compile without it.

Signed-off-by: Bernd Schmidt <bernd.schmidt@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
  • Loading branch information
Bernd Schmidt authored and Bryan Wu committed Jan 27, 2008
1 parent ee7883b commit fc97551
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions arch/blackfin/mach-common/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -1381,6 +1381,7 @@ ENTRY(_sys_call_table)
.long _sys_set_robust_list
.long _sys_get_robust_list /* 355 */
.long _sys_fallocate
.long _sys_semtimedop
.rept NR_syscalls-(.-_sys_call_table)/4
.long _sys_ni_syscall
.endr
Expand Down
3 changes: 2 additions & 1 deletion include/asm-blackfin/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,9 @@
#define __NR_set_robust_list 354
#define __NR_get_robust_list 355
#define __NR_fallocate 356
#define __NR_semtimedop 357

#define __NR_syscall 357
#define __NR_syscall 358
#define NR_syscalls __NR_syscall

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

0 comments on commit fc97551

Please sign in to comment.