OMAPDSS: VENC: fix NULL pointer dereference in DSS2 VENC sysfs debug attr on OMAP4
[zen-stable.git] / include / linux / coredump.h
blobba4b85a6d9b8bc71853de37df2a36b865707b745
1 #ifndef _LINUX_COREDUMP_H
2 #define _LINUX_COREDUMP_H
4 #include <linux/types.h>
5 #include <linux/mm.h>
6 #include <linux/fs.h>
8 /*
9 * These are the only things you should do on a core-file: use only these
10 * functions to write out all the necessary info.
12 extern int dump_write(struct file *file, const void *addr, int nr);
13 extern int dump_seek(struct file *file, loff_t off);
15 #endif /* _LINUX_COREDUMP_H */