aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYinan Zhang <[email protected]>2021-11-05 13:36:46 -0700
committerLinus Torvalds <[email protected]>2021-11-06 13:30:34 -0700
commitd1fea155ee3d90fb3adcb3d6c42751860be3b158 (patch)
treec9b43d78259c27b1e755ac723352dbc5aff66b1c
parent17197dd460469c6fca66e274f5cd51ee43bb6ddd (diff)
mm/page_ext.c: fix a comment
I have noticed that the previous macro is #ifndef CONFIG_SPARSEMEM. I think the comment of #else should be CONFIG_SPARSEMEM. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Yinan Zhang <[email protected]> Acked-by: Vlastimil Babka <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--mm/page_ext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_ext.c b/mm/page_ext.c
index 2a52fd9ed464..6242afb24d84 100644
--- a/mm/page_ext.c
+++ b/mm/page_ext.c
@@ -201,7 +201,7 @@ fail:
panic("Out of memory");
}
-#else /* CONFIG_FLATMEM */
+#else /* CONFIG_SPARSEMEM */
struct page_ext *lookup_page_ext(const struct page *page)
{