diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-04-30 06:42:01 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-06-14 16:37:26 -0700 |
commit | f5155b33277c9678041a27869165619bb34f722f (patch) | |
tree | 16cef227f7e05e3b8d97a68d7b7a60e86255cb98 /firmware | |
parent | 551d55a944b143ef26fbd482d1c463199d6f65cf (diff) | |
download | talos-obmc-linux-f5155b33277c9678041a27869165619bb34f722f.tar.gz talos-obmc-linux-f5155b33277c9678041a27869165619bb34f722f.zip |
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>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions