]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/linux/kexec.h
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target...
[mirror_ubuntu-bionic-kernel.git] / include / linux / kexec.h
index 65888418fb694df2d2cb93531ca5139905dd537a..dd056fab9e35c958c7aee14156e1df5640fb2556 100644 (file)
@@ -172,6 +172,7 @@ struct kimage {
        unsigned long start;
        struct page *control_code_page;
        struct page *swap_page;
+       void *vmcoreinfo_data_copy; /* locates in the crash memory */
 
        unsigned long nr_segments;
        struct kexec_segment segment[KEXEC_SEGMENT_MAX];
@@ -241,6 +242,7 @@ extern void crash_kexec(struct pt_regs *);
 int kexec_should_crash(struct task_struct *);
 int kexec_crash_loaded(void);
 void crash_save_cpu(struct pt_regs *regs, int cpu);
+extern int kimage_crash_copy_vmcoreinfo(struct kimage *image);
 
 extern struct kimage *kexec_image;
 extern struct kimage *kexec_crash_image;