diff options
| author | Tony Lindgren <tony@atomide.com> | 2018-08-28 12:58:03 -0400 |
|---|---|---|
| committer | Tony Lindgren <tony@atomide.com> | 2018-08-28 12:58:03 -0400 |
| commit | ea4d65f14f6aaa53e379b93c5544245ef081b3e7 (patch) | |
| tree | a15485f4f1cf547a52b31fa8e16e14b9579b7200 /include/linux/page-flags.h | |
| parent | ce32d59ee2cd036f6e8a6ed17a06a0b0bec5c67c (diff) | |
| parent | 496f3347d834aec91c38b45d6249ed00f58ad233 (diff) | |
Merge branch 'perm-fix' into omap-for-v4.19/fixes-v2
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 | ||
