[ARM] Kirkwood: only map peripheral register space once
authorNicolas Pitre <nico@cam.org>
Wed, 27 May 2009 02:06:25 +0000 (22:06 -0400)
committerNicolas Pitre <nico@cam.org>
Mon, 8 Jun 2009 17:04:56 +0000 (13:04 -0400)
commit797b2c80e8e111bc9673fc5e6c67ac03e8b7c7ef
tree242f8218121cd4bc89c49e8981052885965e0f6b
parent96e7d211b46ce838ceca5d9734d6e166cfafdef4
[ARM] Kirkwood: only map peripheral register space once

Just like commit 1419468ab548, let's save some TLB entries by making
ioremap() return pointers into the boot-time Kirkwood peripheral
iotable mapping whenever someone tries to ioremap any part of the Kirkwood
peripheral register space.

Signed-off-by: Nicolas Pitre <nico@marvell.com>
arch/arm/mach-kirkwood/include/mach/io.h