diff options
author | Michael Holzheu <holzheu@de.ibm.com> | 2007-06-19 07:10:02 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-06-19 07:10:18 -0400 |
commit | ce4448238aee0144a2458874944df5a5a01a6ac6 (patch) | |
tree | e290bf49dd0e482705e898156a0f2e797ed704ff /drivers | |
parent | 0a71a312437d444e1a45317823fda8160df37ee4 (diff) |
[S390] Fix zfcpdump header
Added members for volume number and real memory size to header information.
Signed-off-by: Michael Holzheu <holzheu@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/s390/char/zcore.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/s390/char/zcore.c b/drivers/s390/char/zcore.c index 66eb0688d523..4e711a985d59 100644 --- a/drivers/s390/char/zcore.c +++ b/drivers/s390/char/zcore.c | |||
@@ -267,7 +267,9 @@ struct zcore_header { | |||
267 | u64 tod; | 267 | u64 tod; |
268 | cpuid_t cpu_id; | 268 | cpuid_t cpu_id; |
269 | u32 arch_id; | 269 | u32 arch_id; |
270 | u32 volnr; | ||
270 | u32 build_arch; | 271 | u32 build_arch; |
272 | u64 rmem_size; | ||
271 | char pad2[4016]; | 273 | char pad2[4016]; |
272 | } __attribute__((packed,__aligned__(16))); | 274 | } __attribute__((packed,__aligned__(16))); |
273 | 275 | ||
@@ -559,6 +561,7 @@ static void __init zcore_header_init(int arch, struct zcore_header *hdr) | |||
559 | else | 561 | else |
560 | hdr->arch_id = DUMP_ARCH_S390; | 562 | hdr->arch_id = DUMP_ARCH_S390; |
561 | hdr->mem_size = sys_info.mem_size; | 563 | hdr->mem_size = sys_info.mem_size; |
564 | hdr->rmem_size = sys_info.mem_size; | ||
562 | hdr->mem_end = sys_info.mem_size; | 565 | hdr->mem_end = sys_info.mem_size; |
563 | hdr->num_pages = sys_info.mem_size / PAGE_SIZE; | 566 | hdr->num_pages = sys_info.mem_size / PAGE_SIZE; |
564 | hdr->tod = get_clock(); | 567 | hdr->tod = get_clock(); |