diff options
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/coredump.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/coredump.c b/arch/powerpc/platforms/cell/spufs/coredump.c index 66636693c9d6..21283f682889 100644 --- a/arch/powerpc/platforms/cell/spufs/coredump.c +++ b/arch/powerpc/platforms/cell/spufs/coredump.c | |||
@@ -135,7 +135,9 @@ static int spufs_arch_notes_size(void) | |||
135 | 135 | ||
136 | fd = 0; | 136 | fd = 0; |
137 | while ((ctx = coredump_next_context(&fd)) != NULL) { | 137 | while ((ctx = coredump_next_context(&fd)) != NULL) { |
138 | spu_acquire_saved(ctx); | ||
138 | rc = spufs_ctx_note_size(ctx, fd); | 139 | rc = spufs_ctx_note_size(ctx, fd); |
140 | spu_release_saved(ctx); | ||
139 | if (rc < 0) | 141 | if (rc < 0) |
140 | break; | 142 | break; |
141 | 143 | ||