summaryrefslogtreecommitdiff
path: root/include/linux/compiler.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-04-30 17:42:01 +0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-06-15 03:37:26 +0400
commitf5155b33277c9678041a27869165619bb34f722f (patch)
tree16cef227f7e05e3b8d97a68d7b7a60e86255cb98 /include/linux/compiler.h
parent551d55a944b143ef26fbd482d1c463199d6f65cf (diff)
downloadlinux-f5155b33277c9678041a27869165619bb34f722f.tar.xz
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