x86: Use memblock_set_current_limit() to set limit for memblock.
authorTang Chen <tangchen@cn.fujitsu.com>
Wed, 14 Aug 2013 03:44:04 +0000 (11:44 +0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 14 Aug 2013 04:27:02 +0000 (21:27 -0700)
commit2449f343e4adc778de1c3d45b5aa14fe788663f5
tree9675d81eaea39e07909633fb67fdefce243c5f02
parentd4f5228c01c130ff2c1f9240f1de22a5dfc61554
x86: Use memblock_set_current_limit() to set limit for memblock.

In setup_arch() of x86, it set memblock.current_limit directly.
We should use memblock_set_current_limit(). If the implementation
is changed, it is easy to maintain.

Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
Link: http://lkml.kernel.org/r/1376451844-15682-1-git-send-email-tangchen@cn.fujitsu.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/setup.c