Merge tag 'regulator-v5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie...
[linux-2.6-microblaze.git] / arch / arm64 / kernel / kexec_image.c
index 29a9428..af9987c 100644 (file)
@@ -47,10 +47,6 @@ static void *image_load(struct kimage *image,
        struct kexec_segment *kernel_segment;
        int ret;
 
-       /* We don't support crash kernels yet. */
-       if (image->type == KEXEC_TYPE_CRASH)
-               return ERR_PTR(-EOPNOTSUPP);
-
        /*
         * We require a kernel with an unambiguous Image header. Per
         * Documentation/arm64/booting.rst, this is the case when image_size