summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-04-30 06:45:36 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-06-14 16:37:28 -0700
commitec8c27e04f89a7575ca2c4facb99152e03d6a99c (patch)
tree43fb52717309745b13a6f1473f4332739581a9fc /kernel
parent81bdf5bd7349bd4523538cbd7878f334bc2bfe14 (diff)
downloadop-kernel-dev-ec8c27e04f89a7575ca2c4facb99152e03d6a99c.zip
op-kernel-dev-ec8c27e04f89a7575ca2c4facb99152e03d6a99c.tar.gz
mce: convert to rcu_dereference_index_check()
The mce processing applies rcu_dereference_check() to integers used as array indices. This patch therefore moves mce to the new RCU API rcu_dereference_index_check() that avoids the sparse processing that would otherwise result in compiler errors. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Andi Kleen <andi@firstfloor.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: "H. Peter Anvin" <hpa@zytor.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud