summaryrefslogtreecommitdiff
path: root/kexec/crashdump.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2010-09-07 12:05:40 -0700
committerSimon Horman <horms@verge.net.au>2010-09-09 17:02:48 +0900
commitedde04f854800eeed21d29a733aca0abc20990eb (patch)
treee82fefcbc6033d36d5d283cfaa04fcb4b18ec645 /kexec/crashdump.h
parentd9bf000b6260ee4558b2d2eb3af08e09cd1fe794 (diff)
crashdump: Move kern_vaddr_start from kexec_info into crash_elf_info
These fields as defined in kexec_info are not biarch safe and beyond that crash_elf_info is the structure for passing this kind of information not kexec_info. So move them in prepartion for properly cleaning up biarch x86 functionality. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> [ horms@verge.net.au: converted stray elf_info-> to elf_info. ] Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/crashdump.h')
-rw-r--r--kexec/crashdump.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kexec/crashdump.h b/kexec/crashdump.h
index 31f711c..eccdb9f 100644
--- a/kexec/crashdump.h
+++ b/kexec/crashdump.h
@@ -27,6 +27,9 @@ struct crash_elf_info {
unsigned long backup_src_end;
unsigned long long page_offset;
+ unsigned long long kern_vaddr_start;
+ unsigned long long kern_paddr_start;
+ unsigned long kern_size;
unsigned long lowmem_limit;
int (*get_note_info)(int cpu, uint64_t *addr, uint64_t *len);