sh: Handle unmapping of fixed slots transparently in iounmap().
authorPaul Mundt <lethal@linux-sh.org>
Mon, 18 Jan 2010 12:33:08 +0000 (21:33 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 18 Jan 2010 12:33:08 +0000 (21:33 +0900)
commit12b6b01cb47dc3eefbef866592193661dad7afb9
tree47d23fb1b9657ea6107bc64d91e85de56717bedc
parent4f744affc345f8b158615e0cdd01d1f4985837c3
sh: Handle unmapping of fixed slots transparently in iounmap().

iounmap() should balance whatever is done by ioremap(). Presently
ioremap() can do any of fixed mappings, PMB mappings, or page table
mappings. Presently only the latter two are handled through the standard
unmap path, so tie in the fixed unmapping, too.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/ioremap.c