[ARM] Orion: fix ioremap() optimization
authorNicolas Pitre <nico@cam.org>
Fri, 25 Apr 2008 18:28:55 +0000 (14:28 -0400)
committerNicolas Pitre <nico@cam.org>
Mon, 28 Apr 2008 19:57:41 +0000 (15:57 -0400)
The ioremap() optimization used for internal register didn't cope
with the fact that paddr + size can wrap to zero if the area extends
to the end of the physical address space.

Issue isolated by Sylver Bruneau <sylver.bruneau@googlemail.com>.

Signed-off-by: Nicolas Pitre <nico@marvell.com>

No differences found