]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[S390] topology: fix alloc_masks annotation
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Mon, 24 Oct 2011 09:46:18 +0000 (11:46 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 24 Oct 2011 09:46:25 +0000 (11:46 +0200)
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;