ia64/xen-unstable

changeset 15173:9ec165fa8128

static, __init and __initdata symbols in machine_kexec.c
Some symbols in machine_kexec.c really ought to be static and,
marked __init or __initdata.

Signed-off-by: Simon Horman <horms@verge.net.au>
author Simon Horman <horms@verge.net.au>
date Wed May 16 09:15:54 2007 +0100 (2007-05-16)
parents 5efb46bfbcac
children 711bfe07999b
files linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c	Tue May 15 19:00:48 2007 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c	Wed May 16 09:15:54 2007 +0100
     1.3 @@ -11,11 +11,11 @@
     1.4  extern void machine_kexec_setup_load_arg(xen_kexec_image_t *xki, 
     1.5  					 struct kimage *image);
     1.6  
     1.7 -int xen_max_nr_phys_cpus;
     1.8 -struct resource xen_hypervisor_res;
     1.9 -struct resource *xen_phys_cpus;
    1.10 +static int __initdata xen_max_nr_phys_cpus;
    1.11 +static struct resource __initdata xen_hypervisor_res;
    1.12 +static struct resource __initdata *xen_phys_cpus;
    1.13  
    1.14 -void xen_machine_kexec_setup_resources(void)
    1.15 +void __init xen_machine_kexec_setup_resources(void)
    1.16  {
    1.17  	xen_kexec_range_t range;
    1.18  	struct resource *res;
    1.19 @@ -104,7 +104,7 @@ void xen_machine_kexec_setup_resources(v
    1.20  	return;
    1.21  }
    1.22  
    1.23 -void xen_machine_kexec_register_resources(struct resource *res)
    1.24 +void __init xen_machine_kexec_register_resources(struct resource *res)
    1.25  {
    1.26  	int k;
    1.27