Re: [PATCH] kvm: Fix section mismatch derived fromkvm_guest_cpu_online()

From: Marcelo Tosatti
Date: Tue Jan 04 2011 - 17:30:25 EST


On Mon, Jan 03, 2011 at 12:01:29AM +0100, Sedat Dilek wrote:
> >From my build.log:
>
> WARNING: arch/x86/built-in.o(.text+0x1bb74): Section mismatch in reference from the function kvm_guest_cpu_online() to the function .cpuinit.text:kvm_guest_cpu_init()
> The function kvm_guest_cpu_online() references
> the function __cpuinit kvm_guest_cpu_init().
> This is often because kvm_guest_cpu_online lacks a __cpuinit
> annotation or the annotation of kvm_guest_cpu_init is wrong.
>
> This patch fixes the warning.
>
> Tested with linux-next (next-20101231)
>
> Signed-off-by: Sedat Dilek <sedat.dilek@xxxxxxxxx>

Applied, thanks.

--
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/