aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/mcheck/mce_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/cpu/mcheck/mce_64.c')
-rw-r--r--arch/x86/kernel/cpu/mcheck/mce_64.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/cpu/mcheck/mce_64.c b/arch/x86/kernel/cpu/mcheck/mce_64.c
index e07e8c068ae..43b7cb59491 100644
--- a/arch/x86/kernel/cpu/mcheck/mce_64.c
+++ b/arch/x86/kernel/cpu/mcheck/mce_64.c
@@ -363,7 +363,7 @@ static void mcheck_check_cpu(void *info)
363 363
364static void mcheck_timer(struct work_struct *work) 364static void mcheck_timer(struct work_struct *work)
365{ 365{
366 on_each_cpu(mcheck_check_cpu, NULL, 1, 1); 366 on_each_cpu(mcheck_check_cpu, NULL, 1);
367 367
368 /* 368 /*
369 * Alert userspace if needed. If we logged an MCE, reduce the 369 * Alert userspace if needed. If we logged an MCE, reduce the
@@ -612,7 +612,7 @@ static ssize_t mce_read(struct file *filp, char __user *ubuf, size_t usize,
612 * Collect entries that were still getting written before the 612 * Collect entries that were still getting written before the
613 * synchronize. 613 * synchronize.
614 */ 614 */
615 on_each_cpu(collect_tscs, cpu_tsc, 1, 1); 615 on_each_cpu(collect_tscs, cpu_tsc, 1);
616 for (i = next; i < MCE_LOG_LEN; i++) { 616 for (i = next; i < MCE_LOG_LEN; i++) {
617 if (mcelog.entry[i].finished && 617 if (mcelog.entry[i].finished &&
618 mcelog.entry[i].tsc < cpu_tsc[mcelog.entry[i].cpu]) { 618 mcelog.entry[i].tsc < cpu_tsc[mcelog.entry[i].cpu]) {
@@ -737,7 +737,7 @@ static void mce_restart(void)
737 if (next_interval) 737 if (next_interval)
738 cancel_delayed_work(&mcheck_work); 738 cancel_delayed_work(&mcheck_work);
739 /* Timer race is harmless here */ 739 /* Timer race is harmless here */
740 on_each_cpu(mce_init, NULL, 1, 1); 740 on_each_cpu(mce_init, NULL, 1);
741 next_interval = check_interval * HZ; 741 next_interval = check_interval * HZ;
742 if (next_interval) 742 if (next_interval)
743 schedule_delayed_work(&mcheck_work, 743 schedule_delayed_work(&mcheck_work,