aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorHuang, Ying <ying.huang@intel.com>2008-01-30 07:33:45 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:33:45 -0500
commit793b24a2dd0d695c748efba7b2295e7f9fdd3139 (patch)
tree2502bf428e14dd0244e922ecdae30a4971d49e80 /arch
parentd18d6d65efc2f5a3ff9a41528fbcb716b2e32615 (diff)
x86: make early_ioremap_debug early_param
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/mm/ioremap_32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mm/ioremap_32.c b/arch/x86/mm/ioremap_32.c
index 30855c44818d..7f7daf50efed 100644
--- a/arch/x86/mm/ioremap_32.c
+++ b/arch/x86/mm/ioremap_32.c
@@ -215,9 +215,9 @@ static int __init early_ioremap_debug_setup(char *str)
215{ 215{
216 early_ioremap_debug = 1; 216 early_ioremap_debug = 1;
217 217
218 return 1; 218 return 0;
219} 219}
220__setup("early_ioremap_debug", early_ioremap_debug_setup); 220early_param("early_ioremap_debug", early_ioremap_debug_setup);
221 221
222static __initdata int after_paging_init; 222static __initdata int after_paging_init;
223static __initdata unsigned long bm_pte[1024] 223static __initdata unsigned long bm_pte[1024]