Skip to content
Commit a4dd9925 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu: create new rcu_access_index() and use in mce



The MCE subsystem needs to sample an RCU-protected index outside of
any protection for that index.  If this was a pointer, we would use
rcu_access_pointer(), but there is no corresponding rcu_access_index().
This commit therefore creates an rcu_access_index() and applies it
to MCE.

Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: default avatarZdenek Kabelac <zkabelac@redhat.com>
parent 0ce790e7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment