Commit 362dff46 authored by Linus Torvalds's avatar Linus Torvalds

Physical address 0 is normal for ACPI - don't complain

parent b073e7f2
...@@ -221,8 +221,6 @@ void iounmap(void *addr) ...@@ -221,8 +221,6 @@ void iounmap(void *addr)
return; return;
} }
BUG_ON(p->phys_addr == 0); /* not allocated with ioremap */
vmfree_area_pages(VMALLOC_VMADDR(p->addr), p->size); vmfree_area_pages(VMALLOC_VMADDR(p->addr), p->size);
if (p->flags && p->phys_addr < virt_to_phys(high_memory)) { if (p->flags && p->phys_addr < virt_to_phys(high_memory)) {
change_page_attr(virt_to_page(__va(p->phys_addr)), change_page_attr(virt_to_page(__va(p->phys_addr)),
......
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