diff options
author | Magnus Damm <magnus@valinux.co.jp> | 2006-11-17 19:56:47 +0900 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2006-11-27 12:25:12 +0900 |
commit | f8b0123231e9ca2cb124aa290b9df7785ff135e0 (patch) | |
tree | 78f69fc111154ad7f804b9c2fbd7a386dc59a896 | |
parent | fb8731448cbeedb0044b1293b1c778d5653f0dd5 (diff) |
kexec-tools: Continue instead of returning (i386)
kexec-tools: Continue instead of returning (i386)
Make the 32-bit code similar to the 64-bit version.
Signed-off-by: Magnus Damm <magnus@valinux.co.jp>
Acked-by: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r-- | kexec/arch/i386/crashdump-x86.c | 2 |
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, ¬es_addr, ¬es_len) < 0) { /* This cpu is not present. Skip it. */ - return -1; + continue; } phdr = (Elf32_Phdr *) bufp; bufp += sizeof(Elf32_Phdr); |