]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita70f5e13c0afa94db13b6b1eb207e53ff54181d2
tree7c0631b5c1a25c97a07359613187c3e6aab93463
parenta185cf5ab61b46e2fdaccb2f7a2ee1ae92552770
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