[Blackfin] arch: Add the semtimedop syscall. Upstream uClibc doesn't compile without it.
Bernd Schmidt [Sun, 27 Jan 2008 11:56:43 +0000 (19:56 +0800)]
Signed-off-by: Bernd Schmidt <bernd.schmidt@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>

arch/blackfin/mach-common/entry.S
include/asm-blackfin/unistd.h

index c2e81a1..56ff51b 100644 (file)
@@ -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
index 07ffe8b..e981673 100644 (file)
 #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 */