diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-09-07 08:41:00 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-09-07 08:41:00 +0100 |
commit | 494adf9a5b52d3ee9d8d21544fca844853f9fe0f (patch) | |
tree | 79ed874b0dff2ecbb5e7495f6cdab74f9441fcbd /xen/common/kexec.c | |
parent | e1c60c7545a3d5cd3be4bd777288a82c5c7fb821 (diff) | |
download | xen-494adf9a5b52d3ee9d8d21544fca844853f9fe0f.tar.gz xen-494adf9a5b52d3ee9d8d21544fca844853f9fe0f.tar.bz2 xen-494adf9a5b52d3ee9d8d21544fca844853f9fe0f.zip |
x86: convert frame_table to a #define
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/common/kexec.c')
-rw-r--r-- | xen/common/kexec.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xen/common/kexec.c b/xen/common/kexec.c index e85c2638b9..56196167b8 100644 --- a/xen/common/kexec.c +++ b/xen/common/kexec.c @@ -338,7 +338,14 @@ static void crash_save_vmcoreinfo(void) VMCOREINFO_PAGESIZE(PAGE_SIZE); VMCOREINFO_SYMBOL(domain_list); +#ifndef frame_table VMCOREINFO_SYMBOL(frame_table); +#else + { + static const void *const _frame_table = frame_table; + VMCOREINFO_SYMBOL_ALIAS(frame_table, _frame_table); + } +#endif VMCOREINFO_SYMBOL(max_page); VMCOREINFO_STRUCT_SIZE(page_info); |