commit | f5155b33277c9678041a27869165619bb34f722f | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Fri Apr 30 06:42:01 2010 -0700 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Mon Jun 14 16:37:26 2010 -0700 |
tree | 16cef227f7e05e3b8d97a68d7b7a60e86255cb98 | |
parent | 551d55a944b143ef26fbd482d1c463199d6f65cf [diff] |
rcu: add an rcu_dereference_index_check() The sparse RCU-pointer checking relies on type magic that dereferences the pointer in question. This does not work if the pointer is in fact an array index. This commit therefore supplies a new RCU API that omits the sparse checking to continue to support rcu_dereference() on integers. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>