From: Jiang Liu Date: Wed, 3 Jul 2013 22:04:23 +0000 (-0700) Subject: mm: introduce helper function set_max_mapnr() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~17^2~290 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fccc998771043db1613509b26c18b3d7f071e668;p=pandora-kernel.git mm: introduce helper function set_max_mapnr() Introduce a helper function set_max_mapnr() to set global variable max_mapnr. Also unify condition compilation for max_mapnr with CONFIG_NEED_MULTIPLE_NODES instead of CONFIG_DISCONTIGMEM. Signed-off-by: Jiang Liu Cc: Greg Kroah-Hartman Cc: Mauro Carvalho Chehab Cc: "David S. Miller" Cc: Mark Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed