summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWolfgang Denk <[email protected]>2011-12-23 01:29:12 +0000
committerWolfgang Denk <[email protected]>2011-12-23 20:08:10 +0100
commit7ddd4475a8f7cabfa86c7f61452cc49facbe172a (patch)
tree2c51850f9832ae3a2002d35df28fe111d50e4f3f /doc
parent38081ff7a4c43cc77bac3f7e85b6592b50d136a8 (diff)
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 <[email protected]> Cc: Anatolij Gustschin <[email protected]> Cc: Stefan Roese <[email protected]> Cc: Kumar Gala <[email protected]> Cc: Kim Phillips <[email protected]> Cc: Andy Fleming <[email protected]> Acked-by: Anatolij Gustschin <[email protected]> Tested-by: Anatolij Gustschin <[email protected]>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions