[ARM] Fix BUG()s in ioremap() code
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 17 Dec 2006 23:29:57 +0000 (23:29 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 17 Dec 2006 23:29:57 +0000 (23:29 +0000)
commitc924aff853bdc1c9841dd22440f931fba5ab3a59
treeeaf325f35e46f8d76514fa357326d78590eafd7f
parent5a059f1ac0ed0c937257027aed5da50241f5ec2b
[ARM] Fix BUG()s in ioremap() code

We need to ensure that the area size is page aligned so that
remap_area_pte() doesn't increment the address past the end of
the desired area.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/ioremap.c