diff options
author | Keir Fraser <keir@xen.org> | 2011-01-06 19:02:36 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2011-01-06 19:02:36 +0000 |
commit | 84be7c5af430f29af3db1304c763281579b04d4f (patch) | |
tree | 4e56542f795a6f5859d5b3c4082bb4c6be4b6fae /xen/include/xen/kexec.h | |
parent | 5f96182f5ce51a68f7fda4e8688acf2c8f47c7f4 (diff) | |
download | xen-84be7c5af430f29af3db1304c763281579b04d4f.tar.gz xen-84be7c5af430f29af3db1304c763281579b04d4f.tar.bz2 xen-84be7c5af430f29af3db1304c763281579b04d4f.zip |
kexec: correct _domain offset info in elf-notes
The hypervisor writes some data structure infos into the elf note
section of the vmcore to enable interpretation of the xen structures
by kexec/kdump.
The info of the offset of _domain in page_info was just wrong on
non-ia64 systems.
Signed-off-by: Juergen Gross <juergen.gross@ts.fujitsu.com>
Diffstat (limited to 'xen/include/xen/kexec.h')
-rw-r--r-- | xen/include/xen/kexec.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xen/include/xen/kexec.h b/xen/include/xen/kexec.h index fb1e6b59b1..9b51004c38 100644 --- a/xen/include/xen/kexec.h +++ b/xen/include/xen/kexec.h @@ -52,9 +52,9 @@ void vmcoreinfo_append_str(const char *fmt, ...) #define VMCOREINFO_OFFSET(name, field) \ vmcoreinfo_append_str("OFFSET(%s.%s)=%lu\n", #name, #field, \ (unsigned long)offsetof(struct name, field)) -#define VMCOREINFO_OFFSET_ALIAS(name, field, alias) \ - vmcoreinfo_append_str("OFFSET(%s.%s)=%lu\n", #name, #alias, \ - (unsigned long)offsetof(struct name, field)) +#define VMCOREINFO_OFFSET_SUB(name, sub, field) \ + vmcoreinfo_append_str("OFFSET(%s.%s)=%lu\n", #name, #field, \ + (unsigned long)offsetof(struct name, sub.field)) #endif /* __XEN_KEXEC_H__ */ |