x86, mmiotrace: silence section mismatch warning - leave_uniprocessor
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Wed, 20 Aug 2008 19:07:47 +0000 (21:07 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 21 Aug 2008 10:35:16 +0000 (12:35 +0200)
commit7701e8c59b0e7cbcf21c1bc49d8b8c6db43027a4
treeee3a733bd24326716273ce2c5d0c547eadbcef73
parentbde78a79a6eb015f33aa4660df1b06f5135def20
x86, mmiotrace: silence section mismatch warning - leave_uniprocessor

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

leave_uniprocessor calls cpu_up only when CONFIG_HOTPLUG_CPU is set,
so it can be safely annotated as __ref

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Pekka Paalanen <pq@iki.fi>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Pekka Paalanen <pq@iki.fi>
arch/x86/mm/mmio-mod.c