summaryrefslogtreecommitdiff
path: root/kexec/arch/mips/crashdump-mips.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/mips/crashdump-mips.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/mips/crashdump-mips.c')
-rw-r--r--kexec/arch/mips/crashdump-mips.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/kexec/arch/mips/crashdump-mips.c b/kexec/arch/mips/crashdump-mips.c
index aa50109..4fd6c30 100644
--- a/kexec/arch/mips/crashdump-mips.c
+++ b/kexec/arch/mips/crashdump-mips.c
@@ -329,8 +329,6 @@ static struct crash_elf_info elf_info64 = {
class: ELFCLASS64,
data : ELFDATA2MSB,
machine : EM_MIPS,
- backup_src_start : BACKUP_SRC_START,
- backup_src_end : BACKUP_SRC_END,
page_offset : PAGE_OFFSET,
lowmem_limit : MAXMEM,
};
@@ -339,8 +337,6 @@ static struct crash_elf_info elf_info32 = {
class: ELFCLASS32,
data : ELFDATA2MSB,
machine : EM_MIPS,
- backup_src_start : BACKUP_SRC_START,
- backup_src_end : BACKUP_SRC_END,
page_offset : PAGE_OFFSET,
lowmem_limit : MAXMEM,
};