aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/binfmts.h2
-rw-r--r--include/linux/coredump.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/binfmts.h b/include/linux/binfmts.h
index c7b16ee71415..37935c2d2e8f 100644
--- a/include/linux/binfmts.h
+++ b/include/linux/binfmts.h
@@ -72,7 +72,7 @@ struct linux_binprm {
72 72
73/* Function parameter for binfmt->coredump */ 73/* Function parameter for binfmt->coredump */
74struct coredump_params { 74struct coredump_params {
75 long signr; 75 siginfo_t *siginfo;
76 struct pt_regs *regs; 76 struct pt_regs *regs;
77 struct file *file; 77 struct file *file;
78 unsigned long limit; 78 unsigned long limit;
diff --git a/include/linux/coredump.h b/include/linux/coredump.h
index 42f9752a0a40..1775eb8acc03 100644
--- a/include/linux/coredump.h
+++ b/include/linux/coredump.h
@@ -12,9 +12,9 @@
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 14#ifdef CONFIG_COREDUMP
15extern void do_coredump(long signr, int exit_code, struct pt_regs *regs); 15extern void do_coredump(siginfo_t *siginfo, struct pt_regs *regs);
16#else 16#else
17static inline void do_coredump(long signr, int exit_code, struct pt_regs *regs) {} 17static inline void do_coredump(siginfo_t *siginfo, struct pt_regs *regs) {}
18#endif 18#endif
19 19
20#endif /* _LINUX_COREDUMP_H */ 20#endif /* _LINUX_COREDUMP_H */