diff options
author | David Rientjes <rientjes@google.com> | 2007-07-21 17:10:31 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-21 18:37:10 -0700 |
commit | 3af044e0f832cfa3fcdce14dc30678b79dd36995 (patch) | |
tree | bd80fcea7b37c9eeef8d23b25d470b4a43c0e4ac /include/linux/acpi.h | |
parent | 34feb2c83beb3bdf13535a36770f7e50b47ef299 (diff) | |
download | op-kernel-dev-3af044e0f832cfa3fcdce14dc30678b79dd36995.zip op-kernel-dev-3af044e0f832cfa3fcdce14dc30678b79dd36995.tar.gz |
x86_64: extract helper function from e820_register_active_regions
The logic in e820_find_active_regions() for determining the true active
regions for an e820 entry given a range of PFN's is needed for
e820_hole_size() as well.
e820_hole_size() is called from the NUMA emulation code to determine the
reserved area within an address range on a per-node basis. Its logic should
duplicate that of finding active regions in an e820 entry because these are
the only true ranges we may register anyway.
[akpm@linux-foundation.org: cleanup]
Cc: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/acpi.h')
0 files changed, 0 insertions, 0 deletions