diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2008-09-10 05:01:07 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-10 08:36:07 +0200 |
commit | e8aed68614c81f24d8c4cbcb4923f848ece846e1 (patch) | |
tree | 0fc0af1ec0e5604011e148f64d77fce273aca2df /drivers/regulator | |
parent | Merge commit 'v2.6.27-rc6' into core/rcu (diff) | |
download | linux-e8aed68614c81f24d8c4cbcb4923f848ece846e1.tar.xz linux-e8aed68614c81f24d8c4cbcb4923f848ece846e1.zip |
doc/RCU: fix pseudocode in rcuref.txt
atomic_inc_not_zero(v) return 0 if *v = 0.
use spin_lock instead of write_lock for update lock.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/regulator')
0 files changed, 0 insertions, 0 deletions