summaryrefslogtreecommitdiff
path: root/kernel/rcuclassic.c
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2008-09-10 07:01:07 +0400
committerIngo Molnar <mingo@elte.hu>2008-09-10 10:36:07 +0400
commite8aed68614c81f24d8c4cbcb4923f848ece846e1 (patch)
tree0fc0af1ec0e5604011e148f64d77fce273aca2df /kernel/rcuclassic.c
parent429b022af41108f6942d72547592b1d30e9a51f0 (diff)
downloadlinux-e8aed68614c81f24d8c4cbcb4923f848ece846e1.tar.xz
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 'kernel/rcuclassic.c')
0 files changed, 0 insertions, 0 deletions