summaryrefslogtreecommitdiffstats
path: root/include/linux/mmzone.h
diff options
context:
space:
mode:
authorWeijie Yang2016-05-21 01:58:04 +0200
committerLinus Torvalds2016-05-21 02:58:30 +0200
commit0c9ad804f178eae02a34045bb0916fa0e31623d5 (patch)
treee2fc111ab3c150a4ca1eec615cbf70f88e125deb /include/linux/mmzone.h
parentinclude/linux/hugetlb.h: use bool instead of int for hugepage_migration_suppo... (diff)
downloadkernel-qcow2-linux-0c9ad804f178eae02a34045bb0916fa0e31623d5.tar.gz
kernel-qcow2-linux-0c9ad804f178eae02a34045bb0916fa0e31623d5.tar.xz
kernel-qcow2-linux-0c9ad804f178eae02a34045bb0916fa0e31623d5.zip
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.h2
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 {
unsigned long *pageblock_flags;
#ifdef CONFIG_PAGE_EXTENSION
/*
- * If !SPARSEMEM, pgdat doesn't have page_ext pointer. We use
+ * If SPARSEMEM, pgdat doesn't have page_ext pointer. We use
* section. (see page_ext.h about this.)
*/
struct page_ext *page_ext;