diff options
Diffstat (limited to 'include/linux/page-flags.h')
| -rw-r--r-- | include/linux/page-flags.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index 901943e4754b..74bee8cecf4c 100644 --- a/include/linux/page-flags.h +++ b/include/linux/page-flags.h | |||
| @@ -369,8 +369,13 @@ PAGEFLAG_FALSE(Uncached) | |||
| 369 | PAGEFLAG(HWPoison, hwpoison, PF_ANY) | 369 | PAGEFLAG(HWPoison, hwpoison, PF_ANY) |
| 370 | TESTSCFLAG(HWPoison, hwpoison, PF_ANY) | 370 | TESTSCFLAG(HWPoison, hwpoison, PF_ANY) |
| 371 | #define __PG_HWPOISON (1UL << PG_hwpoison) | 371 | #define __PG_HWPOISON (1UL << PG_hwpoison) |
| 372 | extern bool set_hwpoison_free_buddy_page(struct page *page); | ||
| 372 | #else | 373 | #else |
| 373 | PAGEFLAG_FALSE(HWPoison) | 374 | PAGEFLAG_FALSE(HWPoison) |
| 375 | static inline bool set_hwpoison_free_buddy_page(struct page *page) | ||
| 376 | { | ||
| 377 | return 0; | ||
| 378 | } | ||
| 374 | #define __PG_HWPOISON 0 | 379 | #define __PG_HWPOISON 0 |
| 375 | #endif | 380 | #endif |
| 376 | 381 | ||
