diff options
author | Tejun Heo <tj@kernel.org> | 2011-07-12 11:15:59 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2011-07-14 20:47:47 +0200 |
commit | 35fd0808d7d8d001cd72f112e3bca84664b596a3 (patch) | |
tree | d4e21e003e182bc4824a74fd850ac3869380b53b /arch/x86/mm/memblock.c | |
parent | x86: Use __memblock_alloc_base() in early_reserve_e820() (diff) | |
download | linux-35fd0808d7d8d001cd72f112e3bca84664b596a3.tar.xz linux-35fd0808d7d8d001cd72f112e3bca84664b596a3.zip |
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>
Diffstat (limited to 'arch/x86/mm/memblock.c')
0 files changed, 0 insertions, 0 deletions