* [PATCH 2/6] x86: make early_ioremap_debug early_param
@ 2008-01-25 5:54 Huang, Ying
2008-01-25 8:57 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Huang, Ying @ 2008-01-25 5:54 UTC (permalink / raw)
To: Ingo Molnar, H. Peter Anvin, Thomas Gleixner, Andi Kleen; +Cc: linux-kernel
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)]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH 2/6] x86: make early_ioremap_debug early_param
2008-01-25 5:54 [PATCH 2/6] x86: make early_ioremap_debug early_param Huang, Ying
@ 2008-01-25 8:57 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2008-01-25 8:57 UTC (permalink / raw)
To: Huang, Ying
Cc: Ingo Molnar, H. Peter Anvin, Thomas Gleixner, Andi Kleen,
linux-kernel
* Huang, Ying <ying.huang@intel.com> wrote:
> This patch makes "early_ioremap_debug" a early parameter, because
> "early_ioreamp/early_iounmap" is only used during early boot stage.
oops, indeed!
> @@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-01-25 8:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-25 5:54 [PATCH 2/6] x86: make early_ioremap_debug early_param Huang, Ying
2008-01-25 8:57 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox