]> Pileus Git - ~andy/linux/commitdiff
[S390] topology: fix alloc_masks annotation
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Sun, 30 Oct 2011 14:16:06 +0000 (15:16 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Sun, 30 Oct 2011 14:16:15 +0000 (15:16 +0100)
Fix this warning:
WARNING: vmlinux.o(.text+0x199b6): Section mismatch in reference from
the function alloc_masks() to the function .init.text:__alloc_bootmem()

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/topology.c

index 0cd340b72632c4a42fc19d43615e66f76a0c3a7e..77b8942b9a153af398cf9cf0e2dfd8eb7c5629ef 100644 (file)
@@ -299,8 +299,8 @@ out:
 }
 __initcall(init_topology_update);
 
-static void alloc_masks(struct sysinfo_15_1_x *info, struct mask_info *mask,
-                       int offset)
+static void __init alloc_masks(struct sysinfo_15_1_x *info,
+                              struct mask_info *mask, int offset)
 {
        int i, nr_masks;