diff options
Diffstat (limited to 'mm/hwpoison-inject.c')
-rw-r--r-- | mm/hwpoison-inject.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/hwpoison-inject.c b/mm/hwpoison-inject.c index 9d26fd9fefe4..356df057a2a8 100644 --- a/mm/hwpoison-inject.c +++ b/mm/hwpoison-inject.c | |||
@@ -34,8 +34,7 @@ static int hwpoison_inject(void *data, u64 val) | |||
34 | if (!hwpoison_filter_enable) | 34 | if (!hwpoison_filter_enable) |
35 | goto inject; | 35 | goto inject; |
36 | 36 | ||
37 | if (!PageLRU(hpage) && !PageHuge(p)) | 37 | shake_page(hpage, 0); |
38 | shake_page(hpage, 0); | ||
39 | /* | 38 | /* |
40 | * This implies unable to support non-LRU pages. | 39 | * This implies unable to support non-LRU pages. |
41 | */ | 40 | */ |