summaryrefslogtreecommitdiffstats
path: root/include/linux/coredump.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-10-08 09:26:08 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-11-09 00:16:26 -0500
commit9b56d54380adb5fef71f687109bbd6f8413d694f (patch)
tree006cd31736372a9f7c9d4e6d7b99a8dd1748d49a /include/linux/coredump.h
parent2507a4fbd48a96bc4236e584252635f8539079df (diff)
downloadop-kernel-dev-9b56d54380adb5fef71f687109bbd6f8413d694f.zip
op-kernel-dev-9b56d54380adb5fef71f687109bbd6f8413d694f.tar.gz
dump_skip(): dump_seek() replacement taking coredump_params
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/coredump.h')
-rw-r--r--include/linux/coredump.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/coredump.h b/include/linux/coredump.h
index 2959376..07a0af9 100644
--- a/include/linux/coredump.h
+++ b/include/linux/coredump.h
@@ -11,8 +11,7 @@
* functions to write out all the necessary info.
*/
struct coredump_params;
-extern int dump_write(struct file *file, const void *addr, int nr);
-extern int dump_seek(struct file *file, loff_t off);
+extern int dump_skip(struct coredump_params *cprm, size_t nr);
extern int dump_emit(struct coredump_params *cprm, const void *addr, int nr);
#ifdef CONFIG_COREDUMP
extern void do_coredump(siginfo_t *siginfo);
OpenPOWER on IntegriCloud