ARM: fix ioremap/iounmap for !CONFIG_MMU
authorRob Herring <rob.herring@calxeda.com>
Sun, 11 Mar 2012 03:24:04 +0000 (21:24 -0600)
committerRob Herring <rob.herring@calxeda.com>
Sun, 11 Mar 2012 20:59:13 +0000 (15:59 -0500)
commit8a2b6255dd11eee1b27d1be394241abf1871b610
tree176fe3a486861176d8dbc73adecb6809528f65b7
parent5621caac1d9514b568f986b55ce5494b1d119d40
ARM: fix ioremap/iounmap for !CONFIG_MMU

With commit 4fe7ef3a081 (ARM: provide runtime hook for ioremap/iounmap),
compiles with !CONFIG_MMU were broken. Rename nommu __iounmap to
__arm_iounmap and add arch_ioremap_caller and arch_iounmap. Its
not expected that these need to be overriden for !CONFIG_MMU, so setting
the function ptrs has no effect in this case.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Russell King <linux@arm.linux.org.uk>
arch/arm/mm/nommu.c