Merge branch 'akpm' (fixes from Andrew)
[linux-drm-fsl-dcu.git] / mm / memory-failure.c
index f9d78ec7831f0461549360575d9f779d206bac33..b7c171602ba1ebb8697f0c523f1a62f51c3a2fa4 100644 (file)
@@ -1269,7 +1269,7 @@ void memory_failure_queue(unsigned long pfn, int trapno, int flags)
 
        mf_cpu = &get_cpu_var(memory_failure_cpu);
        spin_lock_irqsave(&mf_cpu->lock, proc_flags);
-       if (kfifo_put(&mf_cpu->fifo, &entry))
+       if (kfifo_put(&mf_cpu->fifo, entry))
                schedule_work_on(smp_processor_id(), &mf_cpu->work);
        else
                pr_err("Memory failure: buffer overflow when queuing memory failure at %#lx\n",