summaryrefslogtreecommitdiffstats
path: root/include/linux/bootmem.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-07-12 11:16:00 +0200
committerH. Peter Anvin <hpa@linux.intel.com>2011-07-14 11:47:48 -0700
commit8d89ac808417e92a33fb5fa3c86352016643775a (patch)
treeead40e5d1310460e20a837e4171ada2ac9d5f5cd /include/linux/bootmem.h
parent35fd0808d7d8d001cd72f112e3bca84664b596a3 (diff)
downloadblackbird-obmc-linux-8d89ac808417e92a33fb5fa3c86352016643775a.tar.gz
blackbird-obmc-linux-8d89ac808417e92a33fb5fa3c86352016643775a.zip
x86: Replace memblock_x86_find_in_range_size() with for_each_free_mem_range()
setup_bios_corruption_check() and memtest do_one_pass() open code memblock free area iteration using memblock_x86_find_in_range_size(). Convert them to use for_each_free_mem_range() instead. This leaves memblock_x86_find_in_range_size() and memblock_x86_check_reserved_size() unused. Kill them. Signed-off-by: Tejun Heo <tj@kernel.org> Link: http://lkml.kernel.org/r/1310462166-31469-8-git-send-email-tj@kernel.org Cc: Yinghai Lu <yinghai@kernel.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'include/linux/bootmem.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud