[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86: move some function scope statics into .init.data
# HG changeset patch # User Jan Beulich <jbeulich@xxxxxxxx> # Date 1324455615 -3600 # Node ID 73ab77073140ddc853eabe99647b422cb49fa536 # Parent e56500f95b6a861a9dc28c31bad947afefd2b57c x86: move some function scope statics into .init.data Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Acked-by: Keir Fraser <keir@xxxxxxx> --- diff -r e56500f95b6a -r 73ab77073140 xen/arch/x86/setup.c --- a/xen/arch/x86/setup.c Tue Dec 20 18:19:53 2011 +0000 +++ b/xen/arch/x86/setup.c Wed Dec 21 09:20:15 2011 +0100 @@ -486,7 +486,7 @@ { 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 @@ 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 @@ 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 ) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |