summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-06-22 17:40:10 -0700
committerIngo Molnar <mingo@elte.hu>2008-07-08 12:50:19 +0200
commitbef1568d9714f1162086c32583ba7984a7ca8e3e (patch)
tree84cd1f6f1c5637cb3d22f66fa7fc51db4ae4a089 /arch/x86/kernel
parent90d967e0ef68f5312ed4b081d5c9312ff53c1c93 (diff)
downloadblackbird-op-linux-bef1568d9714f1162086c32583ba7984a7ca8e3e.tar.gz
blackbird-op-linux-bef1568d9714f1162086c32583ba7984a7ca8e3e.zip
x86: move reservetop and vmalloc parsing to pgtable_32.c
also change reserve_top_address to __init attibute Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r--arch/x86/kernel/setup_32.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/arch/x86/kernel/setup_32.c b/arch/x86/kernel/setup_32.c
index 13155009ce94..9a08490a3889 100644
--- a/arch/x86/kernel/setup_32.c
+++ b/arch/x86/kernel/setup_32.c
@@ -184,39 +184,6 @@ static inline void copy_edd(void)
}
#endif
-/*
- * vmalloc=size forces the vmalloc area to be exactly 'size'
- * bytes. This can be used to increase (or decrease) the
- * vmalloc area - the default is 128m.
- */
-static int __init parse_vmalloc(char *arg)
-{
- if (!arg)
- return -EINVAL;
-
- __VMALLOC_RESERVE = memparse(arg, &arg);
- return 0;
-}
-early_param("vmalloc", parse_vmalloc);
-
-/*
- * reservetop=size reserves a hole at the top of the kernel address space which
- * a hypervisor can load into later. Needed for dynamically loaded hypervisors,
- * so relocating the fixmap can be done before paging initialization.
- */
-static int __init parse_reservetop(char *arg)
-{
- unsigned long address;
-
- if (!arg)
- return -EINVAL;
-
- address = memparse(arg, &arg);
- reserve_top_address(address);
- return 0;
-}
-early_param("reservetop", parse_reservetop);
-
#ifdef CONFIG_BLK_DEV_INITRD
static bool do_relocate_initrd = false;
OpenPOWER on IntegriCloud