]> err.no Git - linux-2.6/commit
Orion: only map peripheral register space once
authorLennert Buytenhek <buytenh@wantstofly.org>
Thu, 27 Mar 2008 18:51:41 +0000 (14:51 -0400)
committerNicolas Pitre <nico@marvell.com>
Thu, 27 Mar 2008 18:51:41 +0000 (14:51 -0400)
commit1419468ab548f990b172740d77b5c1032a790114
tree379b8bff9d3a5ad53d0d254374ff0074aa20a4e6
parentb590bc5cd0ced1019f02ca7c9b8594482304987f
Orion: only map peripheral register space once

Save some TLB entries by making ioremap() return pointers into the
boot-time Orion peripheral iotable mapping whenever someone tries
to ioremap any part of the Orion peripheral register space.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Reviewed-by: Nicolas Pitre <nico@marvell.com>
Reviewed-by: Tzachi Perelstein <tzachi@marvell.com>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
include/asm-arm/arch-orion/io.h