summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEthan Nelson-Moore <enelsonmoore@gmail.com>2026-06-15 17:01:31 -0700
committerAndrew Morton <akpm@linux-foundation.org>2026-07-02 23:26:50 -0700
commitc371bccc3ddff5b431a4a980d560a6e66e37e4cf (patch)
tree1502ee90df09370f372d0a9625225b04990f954b /include
parent61dc64f53ef67ade89742724b7630900a15aa1b3 (diff)
downloadlinux-next-c371bccc3ddff5b431a4a980d560a6e66e37e4cf.tar.gz
linux-next-c371bccc3ddff5b431a4a980d560a6e66e37e4cf.zip
mm: hugetlb: correct CONFIG_CGROUP_HUGETLB macro name in comment
A comment in <linux/hugetlb_cgroup.h> incorrectly refers to CONFIG_MEM_RES_CTLR_HUGETLB, which has never existed in the kernel, instead of CONFIG_CGROUP_HUGETLB. Correct it. Discovered while searching for CONFIG_* symbols referenced in code but not defined in any Kconfig file. Link: https://lore.kernel.org/20260616000135.62815-1-enelsonmoore@gmail.com Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com> Reviewed-by: David Hildenbrand (Arm) <david@kernel.org> Reviewed-by: Lorenzo Stoakes <ljs@kernel.org> Cc: Anthony Yznaga <anthony.yznaga@oracle.com> Cc: Muchun Song <muchun.song@linux.dev> Cc: Oscar Salvador <osalvador@suse.de> Cc: Pedro Falcato <pfalcato@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/hugetlb_cgroup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/hugetlb_cgroup.h b/include/linux/hugetlb_cgroup.h
index e5d64b8b59c2..16d72c8c71f6 100644
--- a/include/linux/hugetlb_cgroup.h
+++ b/include/linux/hugetlb_cgroup.h
@@ -267,5 +267,5 @@ static inline void hugetlb_cgroup_migrate(struct folio *old_folio,
{
}
-#endif /* CONFIG_MEM_RES_CTLR_HUGETLB */
+#endif /* CONFIG_CGROUP_HUGETLB */
#endif