]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] 5027/1: Fixed random memory corruption on pxa suspend cycle.
authorRobert Jarzmik <rjarzmik@free.fr>
Fri, 2 May 2008 20:17:06 +0000 (21:17 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 4 May 2008 10:06:05 +0000 (11:06 +0100)
commit649de51b883746d76c5fa1614dd067054c9d702a
tree68c3b172063bdf4cc82a727d3d4ca48f63487665
parentc8df9a53e8d16877fc0b268b002af2a47a14643a
[ARM] 5027/1: Fixed random memory corruption on pxa suspend cycle.

Each time a pxa type cpu went in suspend, a portion of
kmalloc memory was corrupted.
The issue was an incorrect length allocation introduced by
the commit 711be5ccfe9a02ba560aa918a008c31ea4760163 for
the save registers array (=> overflow).

Signed-off-by: Robert Jarzmik <rjarzmik@free.fr>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/pm.c
arch/arm/mach-pxa/pxa25x.c
arch/arm/mach-pxa/pxa27x.c
arch/arm/mach-pxa/pxa3xx.c
arch/arm/mach-sa1100/pm.c
include/asm-arm/arch-pxa/pm.h