From: Ingo Molnar Date: Tue, 26 Feb 2008 08:30:32 +0000 (+0100) Subject: x86: ioremap, remove WARN_ON() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9a46d7e5b63903a70cd96c2c1391a7a26a8dbec9;p=linux-beck.git x86: ioremap, remove WARN_ON() Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c index ac3c959e271d..8fe576baa148 100644 --- a/arch/x86/mm/ioremap.c +++ b/arch/x86/mm/ioremap.c @@ -134,8 +134,6 @@ static void __iomem *__ioremap(unsigned long phys_addr, unsigned long size, return NULL; } - WARN_ON_ONCE(page_is_ram(pfn)); - switch (mode) { case IOR_MODE_UNCACHED: default: