aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/mm.h
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2023-07-20 19:28:06 +0800
committerAndrew Morton <akpm@linux-foundation.org>2023-08-18 10:12:41 -0700
commitea09800bf17561a0d20498923d766468c0d7a4a7 (patch)
tree904926a9a89087d0ad00590cc5763f47dc71edaa /include/linux/mm.h
parentmmu_notifiers: rename invalidate_range notifier (diff)
downloadwireguard-linux-ea09800bf17561a0d20498923d766468c0d7a4a7.tar.xz
wireguard-linux-ea09800bf17561a0d20498923d766468c0d7a4a7.zip
mm: fix obsolete function name above debug_pagealloc_enabled_static()
Since commit 04013513cc84 ("mm, page_alloc: do not rely on the order of page_poison and init_on_alloc/free parameters"), init_debug_pagealloc() is converted to init_mem_debugging_and_hardening(). Later it's renamed to mem_debugging_and_hardening_init() via commit f2fc4b44ec2b ("mm: move init_mem_debugging_and_hardening() to mm/mm_init.c"). Link: https://lkml.kernel.org/r/20230720112806.3851893-1-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r--include/linux/mm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 0ae5654f665b..84988d4ff8fb 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -3465,8 +3465,8 @@ static inline bool debug_pagealloc_enabled(void)
}
/*
- * For use in fast paths after init_debug_pagealloc() has run, or when a
- * false negative result is not harmful when called too early.
+ * For use in fast paths after mem_debugging_and_hardening_init() has run,
+ * or when a false negative result is not harmful when called too early.
*/
static inline bool debug_pagealloc_enabled_static(void)
{