]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/page_alloc.c: remove zone_type argument of build_zonelists_node
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>
Wed, 19 Jun 2013 00:07:01 +0000 (10:07 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:26:54 +0000 (17:26 +1000)
commit678ad397acaf9acfc251898719e9c47fff1e4b88
tree1445ca1669a0d608b6a3c063f2d981718aff891b
parent78ee3778ad8c7b723bf03c14d4725a31d44fb40b
mm/page_alloc.c: remove zone_type argument of build_zonelists_node

The callers of build_zonelists_node always pass MAX_NR_ZONES -1 as the
zone_type argument, so we can directly use the value in
build_zonelists_node and remove zone_type argument.

Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_alloc.c