summaryrefslogtreecommitdiff
path: root/kexec/arch/ppc64/crashdump-ppc64.c
diff options
context:
space:
mode:
authorAmerigo Wang <amwang@redhat.com>2011-04-27 11:33:27 +0800
committerSimon Horman <horms@verge.net.au>2011-04-27 15:15:17 +0900
commit600f18e344e8eb887042574ceea28a484a1da12f (patch)
tree150aafbd3911f98b4b3267acf0483eb33e72caac /kexec/arch/ppc64/crashdump-ppc64.c
parent37e6c4752822beb0feb00e4c2a462000550e105b (diff)
kexec: remove duplicated backup_src_start field from struct crash_elf_info
Vivek pointed out that we have duplicated ->backup_src_start in struct crash_elf_info and struct kexec_info. This patch removes the ->backup_src_start and ->backup_src_end from struct crash_elf_info. I tested it on both i686 and ppc64, and used a test case from Dave Anderson to confirm the backup region is correct on i686. Signed-off-by: WANG Cong <amwang@redhat.com> Cc: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/ppc64/crashdump-ppc64.c')
-rw-r--r--kexec/arch/ppc64/crashdump-ppc64.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/kexec/arch/ppc64/crashdump-ppc64.c b/kexec/arch/ppc64/crashdump-ppc64.c
index 0176bc7..6a66f2a 100644
--- a/kexec/arch/ppc64/crashdump-ppc64.c
+++ b/kexec/arch/ppc64/crashdump-ppc64.c
@@ -40,8 +40,6 @@ static struct crash_elf_info elf_info64 =
class: ELFCLASS64,
data: ELFDATA2MSB,
machine: EM_PPC64,
- backup_src_start: BACKUP_SRC_START,
- backup_src_end: BACKUP_SRC_END,
page_offset: PAGE_OFFSET,
lowmem_limit: MAXMEM,
};
@@ -51,8 +49,6 @@ static struct crash_elf_info elf_info32 =
class: ELFCLASS32,
data: ELFDATA2MSB,
machine: EM_PPC64,
- backup_src_start: BACKUP_SRC_START,
- backup_src_end: BACKUP_SRC_END,
page_offset: PAGE_OFFSET,
lowmem_limit: MAXMEM,
};