Commit 9a46d7e5 authored by Ingo Molnar's avatar Ingo Molnar

x86: ioremap, remove WARN_ON()

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 2f44bbb4
...@@ -134,8 +134,6 @@ static void __iomem *__ioremap(unsigned long phys_addr, unsigned long size, ...@@ -134,8 +134,6 @@ static void __iomem *__ioremap(unsigned long phys_addr, unsigned long size,
return NULL; return NULL;
} }
WARN_ON_ONCE(page_is_ram(pfn));
switch (mode) { switch (mode) {
case IOR_MODE_UNCACHED: case IOR_MODE_UNCACHED:
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment