]> rtime.felk.cvut.cz Git - linux-imx.git/commit
s390/smp: fix section mismatch for smp_add_present_cpu()
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 27 Dec 2012 13:03:36 +0000 (14:03 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 8 Jan 2013 09:57:04 +0000 (10:57 +0100)
commiteba61970b68f9f7680d6c1c269633dcd005b3bd2
tree9fed74df89c0c876c702500d9b23b476a7780957
parent5a334c082fc91f0c342ba9c111b77cafb5266654
s390/smp: fix section mismatch for smp_add_present_cpu()

Fixes this section mismatch:

WARNING: vmlinux.o(.text+0x145e4): Section mismatch in reference from the function
   smp_add_present_cpu() to the function .cpuinit.text:register_cpu()
The function smp_add_present_cpu() references
the function __cpuinit register_cpu().
This is often because smp_add_present_cpu lacks a __cpuinit
annotation or the annotation of register_cpu is wrong.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/smp.c