ARM: MMU: Fix memory reaching to the end of address space
For memory reaching the end of the address space
phys + bank->size overflows to 0. Fix this by right shifting
phys and bank->size before adding them.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Tested-by: Sean Cross <xobs@kosagi.com>
1 parent 0017d4d commit 5a6410edd7fcbd16c7c637a22a8bab7dcaeda402
@Sascha Hauer Sascha Hauer authored on 18 Mar 2014
Showing 1 changed file
View
arch/arm/cpu/mmu.c