[POWERPC] spufs: enable SPU coredump for kernel-builtin spufs
commitfe8a29db5bce1b5bd1ceb85fd153fac52cdab7b2
authorAkinobu Mita <mita@fixstars.com>
Mon, 23 Apr 2007 19:08:26 +0000 (23 21:08 +0200)
committerArnd Bergmann <arnd@klappe.arndb.de>
Mon, 23 Apr 2007 19:18:59 +0000 (23 21:18 +0200)
treed0f91cbb7c1181d160750a2d93c18575f13ab324
parent6cf2179202cf706471777ad6ee5d0377d5990ab7
[POWERPC] spufs: enable SPU coredump for kernel-builtin spufs

spu_coredump_calls.owner is NULL in case of a builtin spufs,
so the checks in here break.
Check for the availability of the spu_coredump_calls variable
instead.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/platforms/cell/spu_coredump.c