summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSahara <keun-o.park@darkmatter.ae>2018-06-07 17:09:48 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2018-06-07 17:34:38 -0700
commit72eb7de9c1580cf5705d4f592aca21a8438fde22 (patch)
treed8ffc24102d6fa45f6a85062c9fdeff8d5224f0b /include
parente81bf9793b1861d74953ef041b4f6c7faecc2dbd (diff)
downloadlinux-0-day-72eb7de9c1580cf5705d4f592aca21a8438fde22.tar.gz
linux-0-day-72eb7de9c1580cf5705d4f592aca21a8438fde22.tar.xz
mm: remove page_is_poisoned() from linux/mm.h
When commit bd33ef368135 ("mm: enable page poisoning early at boot") got rid of the PAGE_EXT_DEBUG_POISON, page_is_poisoned in the header left behind. This patch cleans up the leftovers under the table. Link: http://lkml.kernel.org/r/1528101069-21637-1-git-send-email-kpark3469@gmail.com Signed-off-by: Sahara <keun-o.park@darkmatter.ae> Acked-by: Michal Hocko <mhocko@suse.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 1dd588b7c6493..f0f3905f8bb8c 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -2532,12 +2532,10 @@ extern int apply_to_page_range(struct mm_struct *mm, unsigned long address,
#ifdef CONFIG_PAGE_POISONING
extern bool page_poisoning_enabled(void);
extern void kernel_poison_pages(struct page *page, int numpages, int enable);
-extern bool page_is_poisoned(struct page *page);
#else
static inline bool page_poisoning_enabled(void) { return false; }
static inline void kernel_poison_pages(struct page *page, int numpages,
int enable) { }
-static inline bool page_is_poisoned(struct page *page) { return false; }
#endif
#ifdef CONFIG_DEBUG_PAGEALLOC