diff options
Diffstat (limited to 'include/linux/coredump.h')
-rw-r--r-- | include/linux/coredump.h | 5 |
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 | */ |
12 | extern int dump_write(struct file *file, const void *addr, int nr); | 12 | extern int dump_write(struct file *file, const void *addr, int nr); |
13 | extern int dump_seek(struct file *file, loff_t off); | 13 | extern int dump_seek(struct file *file, loff_t off); |
14 | #ifdef CONFIG_COREDUMP | ||
15 | extern void do_coredump(siginfo_t *siginfo, struct pt_regs *regs); | ||
16 | #else | ||
17 | static 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 */ |