extcon: max14577: Change Krzysztof Kozlowski's email to kernel.org
[deliverable/linux.git] / kernel / kexec.c
index 4384672d324516128557e4f7b29637a4cca1df30..980936a90ee6ea0a9f83c195277a7c0705a8bbaa 100644 (file)
@@ -48,7 +48,8 @@ static int kimage_alloc_init(struct kimage **rimage, unsigned long entry,
 
        if (kexec_on_panic) {
                /* Verify we have a valid entry point */
-               if ((entry < crashk_res.start) || (entry > crashk_res.end))
+               if ((entry < phys_to_boot_phys(crashk_res.start)) ||
+                   (entry > phys_to_boot_phys(crashk_res.end)))
                        return -EADDRNOTAVAIL;
        }
 
This page took 0.056663 seconds and 5 git commands to generate.