x86, 32-bit: clean up find_low_pfn_range()
authorIngo Molnar <mingo@elte.hu>
Thu, 12 Feb 2009 12:31:41 +0000 (13:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 12 Feb 2009 14:21:16 +0000 (15:21 +0100)
commit4769843bc265a9c24584b98709cf39e1df5c1404
tree7c0631b5c1a25c97a07359613187c3e6aab93463
parent3023533de43c5c01c660e1b48d3700b028eb4615
x86, 32-bit: clean up find_low_pfn_range()

Impact: cleanup

Split find_low_pfn_range() into two functions:

 - lowmem_pfn_init()
 - highmem_pfn_init()

The former gets called if all of RAM fits into lowmem,
otherwise we call highmem_pfn_init().

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/init_32.c