diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/mm/ioremap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c index 9f42d7e9c158..69f4981db80f 100644 --- a/arch/x86/mm/ioremap.c +++ b/arch/x86/mm/ioremap.c | |||
@@ -126,6 +126,8 @@ static void __iomem *__ioremap(unsigned long phys_addr, unsigned long size, | |||
126 | return NULL; | 126 | return NULL; |
127 | } | 127 | } |
128 | 128 | ||
129 | WARN_ON_ONCE(page_is_ram(pfn)); | ||
130 | |||
129 | switch (mode) { | 131 | switch (mode) { |
130 | case IOR_MODE_UNCACHED: | 132 | case IOR_MODE_UNCACHED: |
131 | default: | 133 | default: |