summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kexec/arch/i386/crashdump-x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexec/arch/i386/crashdump-x86.c b/kexec/arch/i386/crashdump-x86.c
index ee25306..6e3e27b 100644
--- a/kexec/arch/i386/crashdump-x86.c
+++ b/kexec/arch/i386/crashdump-x86.c
@@ -602,7 +602,7 @@ static int prepare_crash_memory_elf32_headers(struct kexec_info *info,
for (i = 0; i < nr_cpus; i++) {
if (get_crash_notes(i, &notes_addr, &notes_len) < 0) {
/* This cpu is not present. Skip it. */
- return -1;
+ continue;
}
phdr = (Elf32_Phdr *) bufp;
bufp += sizeof(Elf32_Phdr);