|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] static, __init and __initdata symbols in
# HG changeset patch
# User Simon Horman <horms@xxxxxxxxxxxx>
# Date 1179303354 -3600
# Node ID 9ec165fa81285bdbde7e0368c29d2e6bf9ce51cc
# Parent 5efb46bfbcac99e630a75a677401060fbec3cc2a
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@xxxxxxxxxxxx>
---
linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff -r 5efb46bfbcac -r 9ec165fa8128
linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c
--- a/linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c Tue May 15
19:00:48 2007 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c Wed May 16
09:15:54 2007 +0100
@@ -11,11 +11,11 @@ extern void machine_kexec_setup_load_arg
extern void machine_kexec_setup_load_arg(xen_kexec_image_t *xki,
struct kimage *image);
-int xen_max_nr_phys_cpus;
-struct resource xen_hypervisor_res;
-struct resource *xen_phys_cpus;
+static int __initdata xen_max_nr_phys_cpus;
+static struct resource __initdata xen_hypervisor_res;
+static struct resource __initdata *xen_phys_cpus;
-void xen_machine_kexec_setup_resources(void)
+void __init xen_machine_kexec_setup_resources(void)
{
xen_kexec_range_t range;
struct resource *res;
@@ -104,7 +104,7 @@ void xen_machine_kexec_setup_resources(v
return;
}
-void xen_machine_kexec_register_resources(struct resource *res)
+void __init xen_machine_kexec_register_resources(struct resource *res)
{
int k;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] static, __init and __initdata symbols in machine_kexec.c,
Xen patchbot-unstable <=
|
|
|
|
|