git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d9ed74
)
ARM: 8292/1: mm: fix size rounding-down of arm_add_memory() function
author
Masahiro Yamada
<yamada.m@jp.panasonic.com>
Tue, 20 Jan 2015 03:38:25 +0000
(
04:38
+0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Wed, 21 Jan 2015 15:52:40 +0000
(15:52 +0000)
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>
arch/arm/kernel/setup.c
patch
|
blob
|
history
diff --cc
arch/arm/kernel/setup.c
Simple merge