diff options
author | Pawel Moll <pawel.moll@arm.com> | 2012-01-26 11:47:11 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-27 21:26:38 +0000 |
commit | 3c424f359898aff48c3d5bed608ac706f8a528c3 (patch) | |
tree | aeddc0dd01e9e9f5a690f90ddb1bfb7a588ea929 /arch/arm/kernel/vmlinux.lds.S | |
parent | 9a95b9e7416c2e7fa799e54078a1adf84a7ed0bf (diff) | |
download | blackbird-op-linux-3c424f359898aff48c3d5bed608ac706f8a528c3.tar.gz blackbird-op-linux-3c424f359898aff48c3d5bed608ac706f8a528c3.zip |
ARM: 7304/1: ioremap: fix boundary check when reusing static mapping
Since commit 576d2f2525612ecb5af029a76f21f22a3b82563d "ARM: add
generic ioremap optimization by reusing static mappings" ioremap()
is trying to reuse existing static mapping when possible.
The condition checking boundaries of the requested and existing
mappings didn't take in-page offset into consideration though,
which lead to obscure and hard to debug problems when requested
mapping crossed end of the static one.
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/vmlinux.lds.S')
0 files changed, 0 insertions, 0 deletions