aboutsummaryrefslogtreecommitdiffstats
path: root/mm/madvise.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/madvise.c')
-rw-r--r--mm/madvise.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/madvise.c b/mm/madvise.c
index 18970aec0d2f..6ca34f0cd4aa 100644
--- a/mm/madvise.c
+++ b/mm/madvise.c
@@ -237,7 +237,7 @@ static int madvise_hwpoison(unsigned long start, unsigned long end)
237 printk(KERN_INFO "Injecting memory failure for page %lx at %lx\n", 237 printk(KERN_INFO "Injecting memory failure for page %lx at %lx\n",
238 page_to_pfn(p), start); 238 page_to_pfn(p), start);
239 /* Ignore return value for now */ 239 /* Ignore return value for now */
240 __memory_failure(page_to_pfn(p), 0, 1); 240 __memory_failure(page_to_pfn(p), 0, MF_COUNT_INCREASED);
241 } 241 }
242 return ret; 242 return ret;
243} 243}