diff options
author | 2010-04-30 06:42:01 -0700 | |
---|---|---|
committer | 2010-06-14 16:37:26 -0700 | |
commit | f5155b33277c9678041a27869165619bb34f722f (patch) | |
tree | 16cef227f7e05e3b8d97a68d7b7a60e86255cb98 /kernel/workqueue.c | |
parent | tree/tiny rcu: Add debug RCU head objects (diff) | |
download | linux-rng-f5155b33277c9678041a27869165619bb34f722f.tar.xz linux-rng-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 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions