]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - kernel/kexec.c
Merge tag 'modules-for-v5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux
[linux.git] / kernel / kexec.c
index bc933c0db9bf019aefa7c5bc7061bc2541fb2a00..f977786fe498fb7241337c6da0e94e3a0ad85d34 100644 (file)
@@ -159,6 +159,10 @@ static int do_kexec_load(unsigned long entry, unsigned long nr_segments,
 
        kimage_terminate(image);
 
+       ret = machine_kexec_post_load(image);
+       if (ret)
+               goto out;
+
        /* Install the new kernel and uninstall the old */
        image = xchg(dest_image, image);