diff options
author | Yinan Zhang <zhangyinan2019@email.szu.edu.cn> | 2021-11-05 13:36:46 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-11-06 13:30:34 -0700 |
commit | d1fea155ee3d90fb3adcb3d6c42751860be3b158 (patch) | |
tree | c9b43d78259c27b1e755ac723352dbc5aff66b1c /mm/page_ext.c | |
parent | 17197dd460469c6fca66e274f5cd51ee43bb6ddd (diff) | |
download | linux-d1fea155ee3d90fb3adcb3d6c42751860be3b158.tar.bz2 |
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/20211008140312.6492-1-zhangyinan2019@email.szu.edu.cn
Signed-off-by: Yinan Zhang <zhangyinan2019@email.szu.edu.cn>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_ext.c')
-rw-r--r-- | mm/page_ext.c | 2 |
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) { |