Home
last modified time | relevance | path

Searched hist:"6806 bfe18fca92e2001538b84cab5f63c5ea4bed" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/arm/mm/
H A Dmmap.cdiff 6806bfe18fca92e2001538b84cab5f63c5ea4bed Thu Oct 01 18:45:28 CDT 2009 Greg Ungerer <gerg@snapgear.com> ARM: 5740/1: fix valid_phys_addr_range() range check

Commit 1522ac3ec95ff0230e7aa516f86b674fdf72866c
("Fix virtual to physical translation macro corner cases")
breaks the end of memory check in valid_phys_addr_range().
The modified expression results in the apparent /dev/mem size
being 2 bytes smaller than what it actually is.

This patch reworks the expression to correctly check the address,
while maintaining use of a valid address to __pa().

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>