From: Paul E. McKenney Date: Fri, 30 Apr 2010 13:42:01 +0000 (-0700) Subject: rcu: add an rcu_dereference_index_check() X-Git-Tag: v2.6.36-rc1~533^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5155b33277c9678041a27869165619bb34f722f;p=pandora-kernel.git 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 --- Reading git-diff-tree failed