diff options
Diffstat (limited to 'include/linux/page-debug-flags.h')
| -rw-r--r-- | include/linux/page-debug-flags.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/page-debug-flags.h b/include/linux/page-debug-flags.h index 22691f61404..b0638fd91e9 100644 --- a/include/linux/page-debug-flags.h +++ b/include/linux/page-debug-flags.h | |||
| @@ -13,7 +13,6 @@ | |||
| 13 | 13 | ||
| 14 | enum page_debug_flags { | 14 | enum page_debug_flags { |
| 15 | PAGE_DEBUG_FLAG_POISON, /* Page is poisoned */ | 15 | PAGE_DEBUG_FLAG_POISON, /* Page is poisoned */ |
| 16 | PAGE_DEBUG_FLAG_GUARD, | ||
| 17 | }; | 16 | }; |
| 18 | 17 | ||
| 19 | /* | 18 | /* |
| @@ -22,8 +21,7 @@ enum page_debug_flags { | |||
| 22 | */ | 21 | */ |
| 23 | 22 | ||
| 24 | #ifdef CONFIG_WANT_PAGE_DEBUG_FLAGS | 23 | #ifdef CONFIG_WANT_PAGE_DEBUG_FLAGS |
| 25 | #if !defined(CONFIG_PAGE_POISONING) && \ | 24 | #if !defined(CONFIG_PAGE_POISONING) \ |
| 26 | !defined(CONFIG_PAGE_GUARD) \ | ||
| 27 | /* && !defined(CONFIG_PAGE_DEBUG_SOMETHING_ELSE) && ... */ | 25 | /* && !defined(CONFIG_PAGE_DEBUG_SOMETHING_ELSE) && ... */ |
| 28 | #error WANT_PAGE_DEBUG_FLAGS is turned on with no debug features! | 26 | #error WANT_PAGE_DEBUG_FLAGS is turned on with no debug features! |
| 29 | #endif | 27 | #endif |
