Skip to content

Commit

Permalink
x86: make early_ioremap_debug early_param
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Huang, Ying authored and Ingo Molnar committed Jan 30, 2008
1 parent d18d6d6 commit 793b24a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/x86/mm/ioremap_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 793b24a

Please sign in to comment.