aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/coredump.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/coredump.h')
-rw-r--r--include/linux/coredump.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/coredump.h b/include/linux/coredump.h
index ba4b85a6d9b8..1775eb8acc03 100644
--- a/include/linux/coredump.h
+++ b/include/linux/coredump.h
@@ -11,5 +11,10 @@
11 */ 11 */
12extern int dump_write(struct file *file, const void *addr, int nr); 12extern int dump_write(struct file *file, const void *addr, int nr);
13extern int dump_seek(struct file *file, loff_t off); 13extern int dump_seek(struct file *file, loff_t off);
14#ifdef CONFIG_COREDUMP
15extern void do_coredump(siginfo_t *siginfo, struct pt_regs *regs);
16#else
17static inline void do_coredump(siginfo_t *siginfo, struct pt_regs *regs) {}
18#endif
14 19
15#endif /* _LINUX_COREDUMP_H */ 20#endif /* _LINUX_COREDUMP_H */