linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm fix commmets: If SPARSEMEM, pgdata doesn't have page_ext
@ 2016-04-08  5:17 Weijie Yang
  0 siblings, 0 replies; only message in thread
From: Weijie Yang @ 2016-04-08  5:17 UTC (permalink / raw)
  To: 'Andrew Morton'; +Cc: linux-kernel, linux-mm, 'Weijie Yang'

If SPARSEMEM, use page_ext in mem_section
if !SPARSEMEM, use page_ext in pgdata

Signed-off-by: Weijie Yang <weijie.yang@samsung.com>
---
 include/linux/mmzone.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index c60df92..43c412c 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -1056,7 +1056,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;
-- 
2.6.3

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-08  5:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-08  5:17 [PATCH] mm fix commmets: If SPARSEMEM, pgdata doesn't have page_ext Weijie Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).