diff options
Diffstat (limited to 'include/linux/kcore.h')
-rw-r--r-- | include/linux/kcore.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/kcore.h b/include/linux/kcore.h index 80db19d3a505..c20f296438fb 100644 --- a/include/linux/kcore.h +++ b/include/linux/kcore.h @@ -28,8 +28,14 @@ struct vmcore { loff_t offset; }; +struct vmcoredd_node { + struct list_head list; /* List of dumps */ + void *buf; /* Buffer containing device's dump */ + unsigned int size; /* Size of the buffer */ +}; + #ifdef CONFIG_PROC_KCORE -extern void kclist_add(struct kcore_list *, void *, size_t, int type); +void __init kclist_add(struct kcore_list *, void *, size_t, int type); #else static inline void kclist_add(struct kcore_list *new, void *addr, size_t size, int type) |