summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/machine_kexec.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2011-04-01 16:15:14 +0200
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2011-04-01 16:27:31 +0200
commita4dd99250dc49031e6a92a895dbcc230a4832083 (patch)
tree3d0b6f45620f66044400ea14a6af019bf0af67e7 /arch/powerpc/kernel/machine_kexec.c
parentLinux 2.6.39-rc1 (diff)
downloadlinux-a4dd99250dc49031e6a92a895dbcc230a4832083.tar.xz
linux-a4dd99250dc49031e6a92a895dbcc230a4832083.zip
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: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Tested-by: Zdenek Kabelac <zkabelac@redhat.com>
Diffstat (limited to 'arch/powerpc/kernel/machine_kexec.c')
0 files changed, 0 insertions, 0 deletions