aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/kexec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/kexec.c b/kernel/kexec.c
index 7d44a9f94145..ea097ad7cc37 100644
--- a/kernel/kexec.c
+++ b/kernel/kexec.c
@@ -503,8 +503,6 @@ static struct page *kimage_alloc_crash_control_pages(struct kimage *image,
503 503
504 if (hole_end > KEXEC_CRASH_CONTROL_MEMORY_LIMIT) 504 if (hole_end > KEXEC_CRASH_CONTROL_MEMORY_LIMIT)
505 break; 505 break;
506 if (hole_end > crashk_res.end)
507 break;
508 /* See if I overlap any of the segments */ 506 /* See if I overlap any of the segments */
509 for (i = 0; i < image->nr_segments; i++) { 507 for (i = 0; i < image->nr_segments; i++) {
510 unsigned long mstart, mend; 508 unsigned long mstart, mend;