]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] spufs: Correctly calculate the size of the local-store to dump
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 19 Sep 2007 04:38:12 +0000 (14:38 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 19 Sep 2007 05:12:18 +0000 (15:12 +1000)
commitccc8940a234bbf0849b2475eda831c3e2b0e96f1
treeaee6299853b27a9587cc617e878b3018f08252f1
parentae082c8a9001352dd0cf024b400a862fcd2c000e
[POWERPC] spufs: Correctly calculate the size of the local-store to dump

The routine to dump the local store, __spufs_mem_read(), does not take the
spu_lslr_RW value into account - so we shouldn't check it when we're
calculating the size either.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Acked-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/coredump.c