x86/mce: Rename rcu_dereference_check_mce() to mce_log_get_idx_check()
commit9a7783d02197f299f71b4fa2364a345c05f92b83
authorBorislav Petkov <bp@suse.de>
Wed, 12 Aug 2015 16:29:43 +0000 (12 18:29 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 13 Aug 2015 08:12:53 +0000 (13 10:12 +0200)
tree86b3fe6f6c06fc8681f083fca01d5238b84c9457
parent9b45ef443acde55526485db37440cd3e8f03d544
x86/mce: Rename rcu_dereference_check_mce() to mce_log_get_idx_check()

The "rcu_" prefix misleads for it being a proper RCU interface
which is not. It basically checks whether we're preemptible or
holding the chrdev_read mutex.

Rename it accordingly.

Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Link: http://lkml.kernel.org/r/1439396985-12812-12-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/mcheck/mce.c