summaryrefslogtreecommitdiff
path: root/include/linux/compiler.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-06-15 04:06:21 +0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-08-20 04:17:59 +0400
commitd34a16661ed0fed433c9469d7cfa3ca4d30ca42e (patch)
tree85e2266263387cc0ee35ac945f74029adb473114 /include/linux/compiler.h
parent763008c4357b73c8d18396dfd8d79dc58fa3f99d (diff)
downloadlinux-d34a16661ed0fed433c9469d7cfa3ca4d30ca42e.tar.xz
net: convert to rcu_dereference_index_check()
The task_cls_classid() function applies rcu_dereference() to integers, which does not work with the shiny new sparse-based checking in rcu_dereference(). This commit therefore moves to the new RCU API rcu_dereference_index_check(). Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Acked-by: David S. Miller <davem@davemloft.net> Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/compiler.h')
0 files changed, 0 insertions, 0 deletions