x86: make early_ioremap_debug early_param
PATCH 2/6 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 <[email protected]>
--- arch/x86/mm/ioremap_32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/mm/ioremap_32.c +2 -2
@@ -215,9 +215,9 @@ static int __init early_ioremap_debug_se { 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 pte_t bm_pte[PAGE_SIZE /sizeof (pte_t)]
Ingo Molnar
AppliedQuoted 2 lines · Huang, Ying
This patch makes "
early_ioremap_debug" a early parameter, because "early_ioreamp/early_iounmap" is only used during early boot stage.
oops, indeed!
arch/x86/mm/ioremap_32.c static int __init early_ioremap_debug_se · line 220
Quoted 9 lines
arch/x86/mm/ioremap_32.c +2
-2@@ -215,9 +215,9 @@ static int __init early_ioremap_debug_se { 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);
thanks, applied.
Ingo