projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'io_uring-5.15-2021-09-11' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git]
/
mm
/
page_ext.c
diff --git
a/mm/page_ext.c
b/mm/page_ext.c
index
293b268
..
dfb9165
100644
(file)
--- a/
mm/page_ext.c
+++ b/
mm/page_ext.c
@@
-58,11
+58,21
@@
* can utilize this callback to initialize the state of it correctly.
*/
* can utilize this callback to initialize the state of it correctly.
*/
+#if defined(CONFIG_PAGE_IDLE_FLAG) && !defined(CONFIG_64BIT)
+static bool need_page_idle(void)
+{
+ return true;
+}
+struct page_ext_operations page_idle_ops = {
+ .need = need_page_idle,
+};
+#endif
+
static struct page_ext_operations *page_ext_ops[] = {
#ifdef CONFIG_PAGE_OWNER
&page_owner_ops,
#endif
static struct page_ext_operations *page_ext_ops[] = {
#ifdef CONFIG_PAGE_OWNER
&page_owner_ops,
#endif
-#if defined(CONFIG_
IDLE_PAGE_TRACKIN
G) && !defined(CONFIG_64BIT)
+#if defined(CONFIG_
PAGE_IDLE_FLA
G) && !defined(CONFIG_64BIT)
&page_idle_ops,
#endif
};
&page_idle_ops,
#endif
};