Skip to content

Commit

Permalink
x86: ioremap, remove WARN_ON()
Browse files Browse the repository at this point in the history
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Mar 11, 2008
1 parent 2f44bbb commit 9a46d7e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/x86/mm/ioremap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9a46d7e

Please sign in to comment.