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>

authored by Marcin Slusarz and committed by Ingo Molnar 7701e8c5 bde78a79

+3 -1
+3 -1
arch/x86/mm/mmio-mod.c
··· 430 430 "may miss events.\n"); 431 431 } 432 432 433 - static void leave_uniprocessor(void) 433 + /* __ref because leave_uniprocessor calls cpu_up which is __cpuinit, 434 + but this whole function is ifdefed CONFIG_HOTPLUG_CPU */ 435 + static void __ref leave_uniprocessor(void) 434 436 { 435 437 int cpu; 436 438 int err;