diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2012-10-17 16:54:27 +0200 |
---|---|---|
committer | Jesper Nilsson <jesper@jni.nu> | 2012-12-20 12:51:19 +0100 |
commit | 00addd1a2de8d83dc3a5d6bb926911268ec716c9 (patch) | |
tree | 9a3cd51906455f0dc446c1690ca66a8e6e9c0cc4 /arch/cris/include/uapi/asm/swab.h | |
parent | e61ac0b05c53f5b56f3ea623c215437c09d8265b (diff) | |
download | op-kernel-dev-00addd1a2de8d83dc3a5d6bb926911268ec716c9.zip op-kernel-dev-00addd1a2de8d83dc3a5d6bb926911268ec716c9.tar.gz |
CRIS: locking: fix the return value of arch_read_trylock()
arch_write_trylock() should return 'ret' instead of always
return 1.
dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Diffstat (limited to 'arch/cris/include/uapi/asm/swab.h')
0 files changed, 0 insertions, 0 deletions