[PATCH 003/013] kexec-tools: Continue instead of returning (i386)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


kexec-tools: Continue instead of returning (i386)

Make the 32-bit code similar to the 64-bit version.

Signed-off-by: Magnus Damm <magnus at valinux.co.jp>
---

 kexec/arch/i386/crashdump-x86.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- 0002/kexec/arch/i386/crashdump-x86.c
+++ work/kexec/arch/i386/crashdump-x86.c	2006-11-17 13:20:57.000000000 +0900
@@ -602,7 +602,7 @@ static int prepare_crash_memory_elf32_he
 	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);


[Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Linux Media]     [Linux Resources]

Powered by Linux