Commit 1eceaa17 authored by Tony Lindgren's avatar Tony Lindgren

Manually merged arch/arm/mm/ioremap.c

parent 9b6b3334
......@@ -142,7 +142,7 @@ __ioremap_pfn(unsigned long pfn, unsigned long offset, size_t size,
return NULL;
addr = (unsigned long)area->addr;
if (remap_area_pages(addr, pfn, size, flags)) {
vfree((void *)addr);
vfree((void *)addr);
return NULL;
}
return (void __iomem *) (offset + (char *)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