summaryrefslogtreecommitdiff
path: root/arch/x86/ia32
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-05-05 13:12:52 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2020-05-05 23:46:09 +0300
commit5456ffdee666c66e27ccc1006f9afe83ad55559f (patch)
tree0c3d7f456c11ca8486cba4f0abdeee85b0d97853 /arch/x86/ia32
parent6904d3d0cb7e151eba5b205ee788c5f39a90308b (diff)
downloadlinux-5456ffdee666c66e27ccc1006f9afe83ad55559f.tar.xz
powerpc/spufs: simplify spufs core dumping
Replace the coredump ->read method with a ->dump method that must call dump_emit itself. That way we avoid a buffer allocation an messing with set_fs() to call into code that is intended to deal with user buffers. For the ->get case we can now use a small on-stack buffer and avoid memory allocations as well. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/x86/ia32')
0 files changed, 0 insertions, 0 deletions