projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'tegra-for-4.8-dt-bindings' of git://git.kernel.org/pub/scm/linux/kernel...
[cascardo/linux.git]
/
arch
/
powerpc
/
platforms
/
cell
/
spufs
/
coredump.c
diff --git
a/arch/powerpc/platforms/cell/spufs/coredump.c
b/arch/powerpc/platforms/cell/spufs/coredump.c
index
84fb984
..
85c85eb
100644
(file)
--- a/
arch/powerpc/platforms/cell/spufs/coredump.c
+++ b/
arch/powerpc/platforms/cell/spufs/coredump.c
@@
-172,7
+172,7
@@
static int spufs_arch_write_note(struct spu_context *ctx, int i,
if (rc < 0)
goto out;
- skip = roundup(cprm->
file->f_pos - total + sz, 4) - cprm->file->f_
pos;
+ skip = roundup(cprm->
pos - total + sz, 4) - cprm->
pos;
if (!dump_skip(cprm, skip))
goto Eio;
out: