summaryrefslogtreecommitdiffstats
path: root/include/linux/coredump.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-10-13 17:57:29 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-11-09 00:16:29 -0500
commitec57941e031685de434916e5398d0ca1d44cd374 (patch)
tree0410ea0df2f34fc0bf468f54ac6a450804fdb7df /include/linux/coredump.h
parentce3959604878c1c693979ec552069dc8bdb5ccde (diff)
downloadop-kernel-dev-ec57941e031685de434916e5398d0ca1d44cd374.zip
op-kernel-dev-ec57941e031685de434916e5398d0ca1d44cd374.tar.gz
constify do_coredump() 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 d8eb880be..d016a12 100644
--- a/include/linux/coredump.h
+++ b/include/linux/coredump.h
@@ -15,9 +15,9 @@ extern int dump_skip(struct coredump_params *cprm, size_t nr);
extern int dump_emit(struct coredump_params *cprm, const void *addr, int nr);
extern int dump_align(struct coredump_params *cprm, int align);
#ifdef CONFIG_COREDUMP
-extern void do_coredump(siginfo_t *siginfo);
+extern void do_coredump(const siginfo_t *siginfo);
#else
-static inline void do_coredump(siginfo_t *siginfo) {}
+static inline void do_coredump(const siginfo_t *siginfo) {}
#endif
#endif /* _LINUX_COREDUMP_H */
OpenPOWER on IntegriCloud