commit | 00addd1a2de8d83dc3a5d6bb926911268ec716c9 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Wed Oct 17 16:54:27 2012 +0200 |
committer | Jesper Nilsson <jesper@jni.nu> | Thu Dec 20 12:51:19 2012 +0100 |
tree | 9a3cd51906455f0dc446c1690ca66a8e6e9c0cc4 | |
parent | e61ac0b05c53f5b56f3ea623c215437c09d8265b [diff] |
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>