diff options
author | Weijie Yang <weijie.yang@samsung.com> | 2016-05-20 19:58:04 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-20 20:58:30 -0400 |
commit | 0c9ad804f178eae02a34045bb0916fa0e31623d5 (patch) | |
tree | e2fc111ab3c150a4ca1eec615cbf70f88e125deb /include/linux/mmzone.h | |
parent | d70c17d436b3fb9dbdae8c93bf908a6110b0cb4f (diff) |
mm fix commmets: if SPARSEMEM, pgdata doesn't have page_ext
If SPARSEMEM, use page_ext in mem_section
if !SPARSEMEM, use page_ext in pgdata
Signed-off-by: Weijie Yang <weijie.yang@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/mmzone.h')
-rw-r--r-- | include/linux/mmzone.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 8dd0333b01dc..02069c23486d 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h | |||
@@ -1063,7 +1063,7 @@ struct mem_section { | |||
1063 | unsigned long *pageblock_flags; | 1063 | unsigned long *pageblock_flags; |
1064 | #ifdef CONFIG_PAGE_EXTENSION | 1064 | #ifdef CONFIG_PAGE_EXTENSION |
1065 | /* | 1065 | /* |
1066 | * If !SPARSEMEM, pgdat doesn't have page_ext pointer. We use | 1066 | * If SPARSEMEM, pgdat doesn't have page_ext pointer. We use |
1067 | * section. (see page_ext.h about this.) | 1067 | * section. (see page_ext.h about this.) |
1068 | */ | 1068 | */ |
1069 | struct page_ext *page_ext; | 1069 | struct page_ext *page_ext; |