summaryrefslogtreecommitdiffstats
path: root/kernel/mm/page_ext.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/mm/page_ext.c')
-rw-r--r--kernel/mm/page_ext.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/mm/page_ext.c b/kernel/mm/page_ext.c
index d86fd2f53..292ca7b8d 100644
--- a/kernel/mm/page_ext.c
+++ b/kernel/mm/page_ext.c
@@ -6,6 +6,7 @@
#include <linux/vmalloc.h>
#include <linux/kmemleak.h>
#include <linux/page_owner.h>
+#include <linux/page_idle.h>
/*
* struct page extension
@@ -59,6 +60,9 @@ static struct page_ext_operations *page_ext_ops[] = {
#ifdef CONFIG_PAGE_OWNER
&page_owner_ops,
#endif
+#if defined(CONFIG_IDLE_PAGE_TRACKING) && !defined(CONFIG_64BIT)
+ &page_idle_ops,
+#endif
};
static unsigned long total_usage;