aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/numa.c
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2011-04-06 09:20:40 +0100
committerKeir Fraser <keir@xen.org>2011-04-06 09:20:40 +0100
commit347f5536686b04b7214488ffef2129a05848e761 (patch)
tree105e1a969e439106a17ec52e5f95a52cb909b9c2 /xen/arch/x86/numa.c
parent03e3614ae6a7506e3c1f98d73287bf4eef7fc766 (diff)
downloadxen-347f5536686b04b7214488ffef2129a05848e761.tar.gz
xen-347f5536686b04b7214488ffef2129a05848e761.tar.bz2
xen-347f5536686b04b7214488ffef2129a05848e761.zip
Remove __init specifier from function declarations in header files.
The specifier only needs to be added to the function's definition. At the same time, fix init_cpu_to_node() to be __init rather than __devinit (it is only called at boot time). Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/numa.c')
-rw-r--r--xen/arch/x86/numa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/numa.c b/xen/arch/x86/numa.c
index 19cb8df942..28b7dd429d 100644
--- a/xen/arch/x86/numa.c
+++ b/xen/arch/x86/numa.c
@@ -332,7 +332,7 @@ static __init int numa_setup(char *opt)
* prior to this call, and this initialization is good enough
* for the fake NUMA cases.
*/
-void __devinit init_cpu_to_node(void)
+void __init init_cpu_to_node(void)
{
int i, node;
for (i = 0; i < NR_CPUS; i++) {