aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/setup.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-09-30 14:31:44 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-09-30 16:34:16 -0400
commit6c5da7aced798c7781f054a76c769b85f0173561 (patch)
treea4713f081e16183b6ed00368658ee77bcca83cf6 /arch/arm/kernel/setup.c
parenteca73214c9c50e290b8dc823b41730b01788872d (diff)
[ARM] mm: move vmalloc= parsing to arch/arm/mm/mmu.c
There's no point scattering this around the tree, the parsing of the parameter might as well live beside the code which uses it. That also means we can make vmalloc_reserve a static variable. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/setup.c')
-rw-r--r--arch/arm/kernel/setup.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
index 2f5d3641f2ed..e4a975fa2d7e 100644
--- a/arch/arm/kernel/setup.c
+++ b/arch/arm/kernel/setup.c
@@ -84,8 +84,6 @@ EXPORT_SYMBOL(system_serial_high);
84unsigned int elf_hwcap; 84unsigned int elf_hwcap;
85EXPORT_SYMBOL(elf_hwcap); 85EXPORT_SYMBOL(elf_hwcap);
86 86
87unsigned long __initdata vmalloc_reserve = 128 << 20;
88
89 87
90#ifdef MULTI_CPU 88#ifdef MULTI_CPU
91struct processor processor; 89struct processor processor;
@@ -415,17 +413,6 @@ static void __init early_mem(char **p)
415__early_param("mem=", early_mem); 413__early_param("mem=", early_mem);
416 414
417/* 415/*
418 * vmalloc=size forces the vmalloc area to be exactly 'size'
419 * bytes. This can be used to increase (or decrease) the vmalloc
420 * area - the default is 128m.
421 */
422static void __init early_vmalloc(char **arg)
423{
424 vmalloc_reserve = memparse(*arg, arg);
425}
426__early_param("vmalloc=", early_vmalloc);
427
428/*
429 * Initial parsing of the command line. 416 * Initial parsing of the command line.
430 */ 417 */
431static void __init parse_cmdline(char **cmdline_p, char *from) 418static void __init parse_cmdline(char **cmdline_p, char *from)