[PATCH 2/6] x86: make early_ioremap_debug early_param

Previous thread: [PATCH 1/6] x86: fix NX bit handling in change_page_attr by Huang, Ying on Thursday, January 24, 2008 - 10:54 pm. (5 messages)

Next thread: [PATCH 3/6] x86: early_ioremap_reset fix by Huang, Ying on Thursday, January 24, 2008 - 10:54 pm. (2 messages)
From: Huang, Ying
Date: Thursday, January 24, 2008 - 10:54 pm

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>

---
 arch/x86/mm/ioremap_32.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/arch/x86/mm/ioremap_32.c
+++ b/arch/x86/mm/ioremap_32.c
@@ -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)]

--

From: Ingo Molnar
Date: Friday, January 25, 2008 - 1:57 am

thanks, applied.

	Ingo
--

Previous thread: [PATCH 1/6] x86: fix NX bit handling in change_page_attr by Huang, Ying on Thursday, January 24, 2008 - 10:54 pm. (5 messages)

Next thread: [PATCH 3/6] x86: early_ioremap_reset fix by Huang, Ying on Thursday, January 24, 2008 - 10:54 pm. (2 messages)