From: Sebastian Ott Date: Mon, 24 Oct 2011 09:46:18 +0000 (+0200) Subject: [S390] topology: fix alloc_masks annotation X-Git-Tag: next-20111025~94^2~48 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=07e6d3793789598a581b6d386b01e996afe5ca72;p=karo-tx-linux.git [S390] topology: fix alloc_masks annotation 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 Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/topology.c b/arch/s390/kernel/topology.c index 0cd340b72632..77b8942b9a15 100644 --- a/arch/s390/kernel/topology.c +++ b/arch/s390/kernel/topology.c @@ -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;