#ifndef _LINUX_COREDUMP_H#define _LINUX_COREDUMP_H#include <linux/types.h>#include <linux/mm.h>#include <linux/fs.h>#include <asm/siginfo.h>/* * These are the only things you should do on a core-file: use only these * functions to write out all the necessary info. */structcoredump_params;externintdump_skip(structcoredump_params*cprm,size_tnr);externintdump_emit(structcoredump_params*cprm,constvoid*addr,intnr);externintdump_align(structcoredump_params*cprm,intalign);#ifdef CONFIG_COREDUMPexternvoiddo_coredump(constsiginfo_t*siginfo);#elsestaticinlinevoiddo_coredump(constsiginfo_t*siginfo){}#endif#endif /* _LINUX_COREDUMP_H */