mm: hwpoison: call shake_page() unconditionally
[linux-2.6-microblaze.git] / mm / hwpoison-inject.c
index 9d26fd9..356df05 100644 (file)
@@ -34,8 +34,7 @@ static int hwpoison_inject(void *data, u64 val)
        if (!hwpoison_filter_enable)
                goto inject;
 
-       if (!PageLRU(hpage) && !PageHuge(p))
-               shake_page(hpage, 0);
+       shake_page(hpage, 0);
        /*
         * This implies unable to support non-LRU pages.
         */