diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-04-30 09:42:01 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-06-14 19:37:26 -0400 |
commit | f5155b33277c9678041a27869165619bb34f722f (patch) | |
tree | 16cef227f7e05e3b8d97a68d7b7a60e86255cb98 /include/linux/compiler.h | |
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>
Diffstat (limited to 'include/linux/compiler.h')
0 files changed, 0 insertions, 0 deletions