diff options
author | Bernd Schmidt <bernd.schmidt@analog.com> | 2008-01-27 12:56:43 +0100 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2008-01-27 12:56:43 +0100 |
commit | fc97551db9e4e9402ff2b5c94be8267b2e5f32f4 (patch) | |
tree | 9c699bef52de56ba911d9d169a21dee09766df7e | |
parent | [Blackfin] arch: fix bug kernel boot message: memory information is not reaso... (diff) | |
download | linux-fc97551db9e4e9402ff2b5c94be8267b2e5f32f4.tar.xz linux-fc97551db9e4e9402ff2b5c94be8267b2e5f32f4.zip |
[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 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) .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 07ffe8b718c5..e98167358d26 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 */ |