diff options
author | Jan Beulich <jbeulich@suse.com> | 2011-12-21 09:20:15 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2011-12-21 09:20:15 +0100 |
commit | 2a117bba4b2be20c585a0b0987e1f70594b4dc7a (patch) | |
tree | c8171f5d6353eab35d99a4ba281ad1f0ce423bd0 /xen/arch/x86/setup.c | |
parent | fba7e0e2d350742f114994d183c1e7bf9fdb5949 (diff) | |
download | xen-2a117bba4b2be20c585a0b0987e1f70594b4dc7a.tar.gz xen-2a117bba4b2be20c585a0b0987e1f70594b4dc7a.tar.bz2 xen-2a117bba4b2be20c585a0b0987e1f70594b4dc7a.zip |
x86: move some function scope statics into .init.data
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/setup.c')
-rw-r--r-- | xen/arch/x86/setup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c index 19a38440c9..32b20c28ef 100644 --- a/xen/arch/x86/setup.c +++ b/xen/arch/x86/setup.c @@ -486,7 +486,7 @@ static void __init kexec_reserve_area(struct e820map *e820) { unsigned long kdump_start = kexec_crash_area.start; unsigned long kdump_size = kexec_crash_area.size; - static int is_reserved = 0; + static bool_t __initdata is_reserved = 0; kdump_size = (kdump_size + PAGE_SIZE - 1) & PAGE_MASK; @@ -1330,7 +1330,7 @@ void __init __start_xen(unsigned long mbi_p) cmdline = (char *)(mod[0].string ? __va(mod[0].string) : NULL); if ( (cmdline != NULL) || (kextra != NULL) ) { - static char dom0_cmdline[MAX_GUEST_CMDLINE]; + static char __initdata dom0_cmdline[MAX_GUEST_CMDLINE]; cmdline = cmdline_cook(cmdline, loader); safe_strcpy(dom0_cmdline, cmdline); @@ -1430,7 +1430,7 @@ int __init xen_in_range(unsigned long mfn) enum { region_s3, region_text, region_bss, nr_regions }; static struct { paddr_t s, e; - } xen_regions[nr_regions]; + } xen_regions[nr_regions] __initdata; /* initialize first time */ if ( !xen_regions[0].s ) |