]> err.no Git - linux-2.6/commitdiff
x86: make early_ioremap_debug early_param
authorHuang, Ying <ying.huang@intel.com>
Wed, 30 Jan 2008 12:33:45 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:45 +0000 (13:33 +0100)
This patch makes "early_ioremap_debug" a early parameter, because
"early_ioreamp/early_iounmap" is only used during early boot stage.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/ioremap_32.c

index 30855c44818da65abb74376f1005cc87d12b6229..7f7daf50efedd240ff8c06b98b30422ab9e0f75a 100644 (file)
@@ -215,9 +215,9 @@ static int __init early_ioremap_debug_setup(char *str)
 {
        early_ioremap_debug = 1;
 
-       return 1;
+       return 0;
 }
-__setup("early_ioremap_debug", early_ioremap_debug_setup);
+early_param("early_ioremap_debug", early_ioremap_debug_setup);
 
 static __initdata int after_paging_init;
 static __initdata unsigned long bm_pte[1024]