]> git.baikalelectronics.ru Git - kernel.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)
commit9d005ee4f6b37b39e2f9d8c39615cdbf48f010e8
tree9fed74df89c0c876c702500d9b23b476a7780957
parent83543a6d89f768c9817be7cdd1d5c24e8adf8a28
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