Re: 2.6.25-rc5: WARNING: at arch/x86/mm/ioremap.c




* Phil Oester <kernel@xxxxxxxxxxxx> wrote:

Still getting the 'WARNING: at arch/x86/mm/ioremap.c:137
__ioremap+0xb1/0x165()' error in -rc5. Seen a few threads on this
error, but apparently still not resolved. Anyone need more info?

the warning is harmless and will be removed in the next x86 update.
(patch is queued up in x86.git already, see below.)

Ingo

-------------->
Subject: x86: ioremap, remove WARN_ON()
From: Ingo Molnar <mingo@xxxxxxx>
Date: Tue Feb 26 09:30:32 CET 2008

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
arch/x86/mm/ioremap.c | 2 --
1 file changed, 2 deletions(-)

Index: linux-x86.q/arch/x86/mm/ioremap.c
===================================================================
--- linux-x86.q.orig/arch/x86/mm/ioremap.c
+++ linux-x86.q/arch/x86/mm/ioremap.c
@@ -134,8 +134,6 @@ static void __iomem *__ioremap(unsigned
return NULL;
}

- WARN_ON_ONCE(page_is_ram(pfn));
-
switch (mode) {
case IOR_MODE_UNCACHED:
default:
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/