aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/libfdt/fdt_ro.c
diff options
context:
space:
mode:
authorCarl Love <cel@us.ibm.com>2008-10-29 05:06:45 +0000
committerPaul Mackerras <paulus@samba.org>2008-10-31 16:13:51 +1100
commit210434d7633d477aa503454d68511fa2904e418e (patch)
tree8f06b51f5dc03f35fd7cb54329d0a61c88db9cd2 /arch/powerpc/boot/libfdt/fdt_ro.c
parentpowerpc/mpic: Fix regression caused by change of default IRQ affinity (diff)
downloadlinux-dev-210434d7633d477aa503454d68511fa2904e418e.tar.xz
linux-dev-210434d7633d477aa503454d68511fa2904e418e.zip
powerpc/cell/OProfile: Fix on-stack array size in activate spu profiling function
The size of the pm_signal_local array should be equal to the number of SPUs being configured in the array. Currently, the array is of size 4 (NR_PHYS_CTRS) but being indexed by a for loop from 0 to 7 (NUM_SPUS_PER_NODE). This could potentially cause an oops or random memory corruption since the pm_signal_local array is on the stack. This fixes it. Signed-off-by: Carl Love <carll@us.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions