x86: ioremap, remove WARN_ON()
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
2f44bbb495
commit
9a46d7e5b6
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user