mm fix commmets: if SPARSEMEM, pgdata doesn't have page_ext
authorWeijie Yang <weijie.yang@samsung.com>
Fri, 20 May 2016 23:58:04 +0000 (16:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 May 2016 00:58:30 +0000 (17:58 -0700)
commit0c9ad804f178eae02a34045bb0916fa0e31623d5
treee2fc111ab3c150a4ca1eec615cbf70f88e125deb
parentd70c17d436b3fb9dbdae8c93bf908a6110b0cb4f
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>
include/linux/mmzone.h