diff options
author | Amerigo Wang <amwang@redhat.com> | 2011-04-27 11:33:27 +0800 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2011-04-27 15:15:17 +0900 |
commit | 600f18e344e8eb887042574ceea28a484a1da12f (patch) | |
tree | 150aafbd3911f98b4b3267acf0483eb33e72caac /kexec/arch/ppc/crashdump-powerpc.c | |
parent | 37e6c4752822beb0feb00e4c2a462000550e105b (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/ppc/crashdump-powerpc.c')
-rw-r--r-- | kexec/arch/ppc/crashdump-powerpc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/kexec/arch/ppc/crashdump-powerpc.c b/kexec/arch/ppc/crashdump-powerpc.c index 7bfad20..eb82122 100644 --- a/kexec/arch/ppc/crashdump-powerpc.c +++ b/kexec/arch/ppc/crashdump-powerpc.c @@ -21,8 +21,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, }; @@ -35,8 +33,6 @@ machine: EM_PPC64, #else machine: EM_PPC, #endif -backup_src_start: BACKUP_SRC_START, -backup_src_end: BACKUP_SRC_END, page_offset: PAGE_OFFSET, lowmem_limit: MAXMEM, }; |