aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index c3f6f851f76e..0a53728a12f5 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -3416,7 +3416,7 @@ void __init free_area_init_nodes(unsigned long *max_zone_pfn)
3416 * kernelcore=size sets the amount of memory for use for allocations that 3416 * kernelcore=size sets the amount of memory for use for allocations that
3417 * cannot be reclaimed or migrated. 3417 * cannot be reclaimed or migrated.
3418 */ 3418 */
3419int __init cmdline_parse_kernelcore(char *p) 3419static int __init cmdline_parse_kernelcore(char *p)
3420{ 3420{
3421 unsigned long long coremem; 3421 unsigned long long coremem;
3422 if (!p) 3422 if (!p)
@@ -3430,6 +3430,9 @@ int __init cmdline_parse_kernelcore(char *p)
3430 3430
3431 return 0; 3431 return 0;
3432} 3432}
3433
3434early_param("kernelcore", cmdline_parse_kernelcore);
3435
3433#endif /* CONFIG_ARCH_POPULATES_NODE_MAP */ 3436#endif /* CONFIG_ARCH_POPULATES_NODE_MAP */
3434 3437
3435/** 3438/**