aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memory-failure.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/memory-failure.c')
-rw-r--r--mm/memory-failure.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory-failure.c b/mm/memory-failure.c
index 6917f799412b..d50f17fb9be2 100644
--- a/mm/memory-failure.c
+++ b/mm/memory-failure.c
@@ -1298,7 +1298,7 @@ static void memory_failure_work_func(struct work_struct *work)
1298 unsigned long proc_flags; 1298 unsigned long proc_flags;
1299 int gotten; 1299 int gotten;
1300 1300
1301 mf_cpu = &__get_cpu_var(memory_failure_cpu); 1301 mf_cpu = this_cpu_ptr(&memory_failure_cpu);
1302 for (;;) { 1302 for (;;) {
1303 spin_lock_irqsave(&mf_cpu->lock, proc_flags); 1303 spin_lock_irqsave(&mf_cpu->lock, proc_flags);
1304 gotten = kfifo_get(&mf_cpu->fifo, &entry); 1304 gotten = kfifo_get(&mf_cpu->fifo, &entry);