GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / include / linux / page-debug-flags.h
blob3dcbdd031d4a1e7d59fa17c4fdf1d2ee62855d31
1 #ifndef LINUX_PAGE_DEBUG_FLAGS_H
2 #define LINUX_PAGE_DEBUG_FLAGS_H
4 /*
5 * page->debug_flags bits:
7 * PAGE_DEBUG_FLAG_POISON is set for poisoned pages. This is used to
8 * implement generic debug pagealloc feature. The pages are filled with
9 * poison patterns and set this flag after free_pages(). The poisoned
10 * pages are verified whether the patterns are not corrupted and clear
11 * the flag before alloc_pages().
14 enum page_debug_flags {
15 PAGE_DEBUG_FLAG_POISON, /* Page is poisoned */
19 * Ensure that CONFIG_WANT_PAGE_DEBUG_FLAGS reliably
20 * gets turned off when no debug features are enabling it!
23 #ifdef CONFIG_WANT_PAGE_DEBUG_FLAGS
24 #if !defined(CONFIG_PAGE_POISONING) /* && \
25 !defined(CONFIG_PAGE_DEBUG_SOMETHING_ELSE) && ... */
26 #error WANT_PAGE_DEBUG_FLAGS is turned on with no debug features!
27 #endif
28 #endif /* CONFIG_WANT_PAGE_DEBUG_FLAGS */
30 #endif /* LINUX_PAGE_DEBUG_FLAGS_H */