diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2015-01-20 04:38:25 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-01-21 15:52:40 +0000 |
commit | 909ba297beb50981a9d12364688d3c5f3084c6eb (patch) | |
tree | 14080141f5359248a3f08b420dd8f56a666d61f0 /drivers/coresight | |
parent | 2d9ed7406fd24987b75f78fea8290202d8108f34 (diff) |
ARM: 8292/1: mm: fix size rounding-down of arm_add_memory() function
The current rounding of "size" is wrong:
- If "start" is sufficiently near the next page boundary, "size"
is decremented by more than enough and the last page is lost.
- If "size" is sufficiently small, it is wrapped around and gets
a bogus value.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/coresight')
0 files changed, 0 insertions, 0 deletions