]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] spufs: Get rid of spufs_coredump_num_notes, it's not needed if we NULL...
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)
commitca7070f37fe3e20eb925faab2dc602e2578fe0a4
tree44ddc4a6785cb1f5a9c7387ff8d97c6881517de0
parent7f3016cdc70815ecd1c016207178d91de11ebe95
[POWERPC] spufs: Get rid of spufs_coredump_num_notes, it's not needed if we NULL terminate

The spufs_coredump_read array is NULL terminated, and we also store the size.
We only need one or the other, and the other arrays in file.c are NULL
terminated, so do that.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/coredump.c
arch/powerpc/platforms/cell/spufs/file.c