diff options
author | Bernd Schmidt <bernd.schmidt@analog.com> | 2008-01-27 19:56:43 +0800 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2008-01-27 19:56:43 +0800 |
commit | fc97551db9e4e9402ff2b5c94be8267b2e5f32f4 (patch) | |
tree | 9c699bef52de56ba911d9d169a21dee09766df7e | |
parent | ee7883b7466e721a72edacbcba2fe9cf449d82b2 (diff) | |
download | op-kernel-dev-fc97551db9e4e9402ff2b5c94be8267b2e5f32f4.zip op-kernel-dev-fc97551db9e4e9402ff2b5c94be8267b2e5f32f4.tar.gz |
[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.S | 1 | ||||
-rw-r--r-- | include/asm-blackfin/unistd.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S index c2e81a1..56ff51b 100644 --- a/arch/blackfin/mach-common/entry.S +++ b/arch/blackfin/mach-common/entry.S @@ -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 diff --git a/include/asm-blackfin/unistd.h b/include/asm-blackfin/unistd.h index 07ffe8b..e981673 100644 --- a/include/asm-blackfin/unistd.h +++ b/include/asm-blackfin/unistd.h @@ -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 */ |