commit | e82d42be24bd5d75bf6f81045636e6ca95ab55f2 | [log] [tgz] |
---|---|---|
author | Yinghai Lu <yinghai@kernel.org> | Wed Aug 25 13:39:17 2010 -0700 |
committer | H. Peter Anvin <hpa@zytor.com> | Fri Aug 27 11:11:30 2010 -0700 |
tree | ae35d2fdb08c9ddd500bbde67e462a2f47399a98 | |
parent | b52c17ce854125700c4e19d4427d39bf2504ff63 [diff] |
x86, memblock: Add memblock_x86_memory_in_range() It will return memory size in specified range according to memblock.memory.region Try to share some code with memblock_x86_free_memory_in_range() by passing get_free to __memblock_x86_memory_in_range(). -v2: Ben want _in_range in the name instead of size Signed-off-by: Yinghai Lu <yinghai@kernel.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: H. Peter Anvin <hpa@zytor.com>