uboot/post/lib_powerpc
Wolfgang Denk 7ddd4475a8 post/lib_powerpc/multi.c: fix stack overflow error
The code and comment disagreed: the comment claimed that r6...r31
were copied, and consequently the arrays for "src" and "dst" were
declared with 26 entries, but the actual code ("lmw r5,0(r3)" and
"stmw r5,0(r4)") copied _27_ words (r5 through r31), which resulted
in false "POST cpu Error at multi test" messages.

Fix the comment and the array sizes.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Stefan Roese <sr@denx.de>
Cc: Kumar Gala <galak@kernel.crashing.org>
Cc: Kim Phillips <kim.phillips@freescale.com>
Cc: Andy Fleming <afleming@gmail.com>
Acked-by: Anatolij Gustschin <agust@denx.de>
Tested-by: Anatolij Gustschin <agust@denx.de>
2011-12-23 20:08:10 +01:00
..
fpu PPC: fix "Warning: FOO uses hard float, BAR uses soft float". 2011-12-23 20:03:55 +01:00
Makefile
andi.c
asm.S
b.c
cmp.c
cmpi.c
complex.c
cpu.c
cpu_asm.h
cr.c
load.c
multi.c post/lib_powerpc/multi.c: fix stack overflow error 2011-12-23 20:08:10 +01:00
rlwimi.c
rlwinm.c
rlwnm.c
srawi.c
store.c
string.c
three.c
threei.c
threex.c
two.c
twox.c