aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Schmidt <bernd.schmidt@analog.com>2008-01-27 06:56:43 -0500
committerBryan Wu <bryan.wu@analog.com>2008-01-27 06:56:43 -0500
commitfc97551db9e4e9402ff2b5c94be8267b2e5f32f4 (patch)
tree9c699bef52de56ba911d9d169a21dee09766df7e
parentee7883b7466e721a72edacbcba2fe9cf449d82b2 (diff)
[Blackfin] arch: Add the semtimedop syscall. Upstream uClibc doesn't compile without it.
Signed-off-by: Bernd Schmidt <bernd.schmidt@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
-rw-r--r--arch/blackfin/mach-common/entry.S1
-rw-r--r--include/asm-blackfin/unistd.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S
index c2e81a10c47b..56ff51bc8c21 100644
--- a/arch/blackfin/mach-common/entry.S
+++ b/arch/blackfin/mach-common/entry.S
@@ -1381,6 +1381,7 @@ ENTRY(_sys_call_table)
1381 .long _sys_set_robust_list 1381 .long _sys_set_robust_list
1382 .long _sys_get_robust_list /* 355 */ 1382 .long _sys_get_robust_list /* 355 */
1383 .long _sys_fallocate 1383 .long _sys_fallocate
1384 .long _sys_semtimedop
1384 .rept NR_syscalls-(.-_sys_call_table)/4 1385 .rept NR_syscalls-(.-_sys_call_table)/4
1385 .long _sys_ni_syscall 1386 .long _sys_ni_syscall
1386 .endr 1387 .endr
diff --git a/include/asm-blackfin/unistd.h b/include/asm-blackfin/unistd.h
index 07ffe8b718c5..e98167358d26 100644
--- a/include/asm-blackfin/unistd.h
+++ b/include/asm-blackfin/unistd.h
@@ -369,8 +369,9 @@
369#define __NR_set_robust_list 354 369#define __NR_set_robust_list 354
370#define __NR_get_robust_list 355 370#define __NR_get_robust_list 355
371#define __NR_fallocate 356 371#define __NR_fallocate 356
372#define __NR_semtimedop 357
372 373
373#define __NR_syscall 357 374#define __NR_syscall 358
374#define NR_syscalls __NR_syscall 375#define NR_syscalls __NR_syscall
375 376
376/* Old optional stuff no one actually uses */ 377/* Old optional stuff no one actually uses */