From 793b24a2dd0d695c748efba7b2295e7f9fdd3139 Mon Sep 17 00:00:00 2001 From: "Huang, Ying" Date: Wed, 30 Jan 2008 13:33:45 +0100 Subject: [PATCH] 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 Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- arch/x86/mm/ioremap_32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/mm/ioremap_32.c b/arch/x86/mm/ioremap_32.c index 30855c44818..7f7daf50efe 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) { 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] -- 2.41.1