提交 793b24a2 编写于 作者: H Huang, Ying 提交者: Ingo Molnar

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: NHuang Ying <ying.huang@intel.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 d18d6d65
...@@ -215,9 +215,9 @@ static int __init early_ioremap_debug_setup(char *str) ...@@ -215,9 +215,9 @@ static int __init early_ioremap_debug_setup(char *str)
{ {
early_ioremap_debug = 1; 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 int after_paging_init;
static __initdata unsigned long bm_pte[1024] static __initdata unsigned long bm_pte[1024]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册