Re: [PATCH] x86, mmiotrace: silence section mismatch warning -leave_uniprocessor

From: Ingo Molnar
Date: Thu Aug 21 2008 - 06:35:59 EST



* Marcin Slusarz <marcin.slusarz@xxxxxxxxx> wrote:

> 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

applied to tip/x86/urgent, thanks Marcin.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/