OSDN Git Service

documentation: Make sample code and documentation consistent
authorYao Dongdong <yaodongdong@huawei.com>
Mon, 7 Mar 2016 08:02:14 +0000 (16:02 +0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 31 Mar 2016 20:33:19 +0000 (13:33 -0700)
commit70946a44deec299ef54c0ec933e8d82ddd4bcc6a
tree0847483e0b493d9462a0e143d62ebd96c9bab74b
parent274529ba9bda86c91c2c06da3a641aaf617dd30f
documentation: Make sample code and documentation consistent

In the chapter 'analogy with reader-writer locking', the sample
code uses spinlock_t in reader-writer case. Just correct it so
that we can read the document easily.

Signed-off-by: Yao Dongdong <yaodongdong@huawei.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Documentation/RCU/whatisRCU.txt