[PATCH] make numa_emulation() __init
authorAndrew Morton <akpm@osdl.org>
Tue, 26 Sep 2006 08:52:37 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:37 +0000 (10:52 +0200)
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/mm/numa.c

index d64d6d93d04b560920ec86169c97f517ec488038..322bf45fc36ac8c55f7bdb070904082d2fba8b65 100644 (file)
@@ -225,7 +225,7 @@ void __init numa_init_array(void)
 int numa_fake __initdata = 0;
 
 /* Numa emulation */
-static int numa_emulation(unsigned long start_pfn, unsigned long end_pfn)
+static int __init numa_emulation(unsigned long start_pfn, unsigned long end_pfn)
 {
        int i;
        struct bootnode nodes[MAX_NUMNODES];