mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 17:12:06 +00:00
x86, mm: change low/hignmem_pfn_init to static on 32bit
Signed-off-by: Yinghai Lu <yinghai@kernel.org> Link: http://lkml.kernel.org/r/1353123563-3103-33-git-send-email-yinghai@kernel.org Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
This commit is contained in:
parent
148b20989e
commit
f836e35a98
@ -575,7 +575,7 @@ early_param("highmem", parse_highmem);
|
||||
* artificially via the highmem=x boot parameter then create
|
||||
* it:
|
||||
*/
|
||||
void __init lowmem_pfn_init(void)
|
||||
static void __init lowmem_pfn_init(void)
|
||||
{
|
||||
/* max_low_pfn is 0, we already have early_res support */
|
||||
max_low_pfn = max_pfn;
|
||||
@ -611,7 +611,7 @@ void __init lowmem_pfn_init(void)
|
||||
* We have more RAM than fits into lowmem - we try to put it into
|
||||
* highmem, also taking the highmem=x boot parameter into account:
|
||||
*/
|
||||
void __init highmem_pfn_init(void)
|
||||
static void __init highmem_pfn_init(void)
|
||||
{
|
||||
max_low_pfn = MAXMEM_PFN;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user