summaryrefslogtreecommitdiffstats
path: root/include/linux/coredump.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-11-05 13:11:26 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-11-29 00:01:25 -0500
commit541880d9a2c7871f6370071d55aa6662d329c51e (patch)
treebc484cbeba1872ef2090c8738a942390a02d4dff /include/linux/coredump.h
parent4aaefee589f97bb30062bbeeb793bbbf7107a9a7 (diff)
downloadlinux-541880d9a2c7871f6370071d55aa6662d329c51e.tar.gz
linux-541880d9a2c7871f6370071d55aa6662d329c51e.tar.bz2
linux-541880d9a2c7871f6370071d55aa6662d329c51e.zip
do_coredump(): get rid of pt_regs argument
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/coredump.h')
-rw-r--r--include/linux/coredump.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/coredump.h b/include/linux/coredump.h
index 1d7399314a89..a98f1ca60407 100644
--- a/include/linux/coredump.h
+++ b/include/linux/coredump.h
@@ -13,9 +13,9 @@
extern int dump_write(struct file *file, const void *addr, int nr);
extern int dump_seek(struct file *file, loff_t off);
#ifdef CONFIG_COREDUMP
-extern void do_coredump(siginfo_t *siginfo, struct pt_regs *regs);
+extern void do_coredump(siginfo_t *siginfo);
#else
-static inline void do_coredump(siginfo_t *siginfo, struct pt_regs *regs) {}
+static inline void do_coredump(siginfo_t *siginfo) {}
#endif
#endif /* _LINUX_COREDUMP_H */