commit | 35fd0808d7d8d001cd72f112e3bca84664b596a3 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Tue Jul 12 11:15:59 2011 +0200 |
committer | H. Peter Anvin <hpa@linux.intel.com> | Thu Jul 14 11:47:47 2011 -0700 |
tree | d4e21e003e182bc4824a74fd850ac3869380b53b | |
parent | ab5d140b9eafae402aa3e673a63c5ef6164a9dd2 [diff] |
memblock: Implement for_each_free_mem_range() Implement for_each_free_mem_range() which iterates over free memory areas according to memblock (memory && !reserved). This will be used to simplify memblock users. Signed-off-by: Tejun Heo <tj@kernel.org> Link: http://lkml.kernel.org/r/1310462166-31469-7-git-send-email-tj@kernel.org Cc: Yinghai Lu <yinghai@kernel.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>