x86/mcheck: replace remaining uses of __get_cpu_var()
authorJan Beulich <jbeulich@suse.com>
Tue, 25 Jun 2019 15:33:40 +0000 (17:33 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 25 Jun 2019 15:33:40 +0000 (17:33 +0200)
commit19b2006a8950eaf11606a6fc3df666f2982321ad
treea7849ff3b8a39c4b45a31176931e127659578e31
parent560cf418c8455cd8d79ad353f6f9193a2e2554e4
x86/mcheck: replace remaining uses of __get_cpu_var()

this_cpu() is shorter, and when there are multiple uses in a function
per_cpu() it's also more efficient.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/cpu/mcheck/mce.c
xen/arch/x86/cpu/mcheck/mce_intel.c
xen/arch/x86/cpu/mcheck/non-fatal.c