diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2008-09-10 11:01:07 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-10 08:36:07 +0200 |
commit | e8aed68614c81f24d8c4cbcb4923f848ece846e1 (patch) | |
tree | 0fc0af1ec0e5604011e148f64d77fce273aca2df /arch/m32r/mm | |
parent | 429b022af41108f6942d72547592b1d30e9a51f0 (diff) | |
download | linux-e8aed68614c81f24d8c4cbcb4923f848ece846e1.tar.bz2 |
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 'arch/m32r/mm')
0 files changed, 0 insertions, 0 deletions