From: Rakib Mullick Date: Wed, 29 Oct 2008 21:13:39 +0000 (-0700) Subject: x86: KVM guest: fix section mismatch warning in kvmclock.c X-Git-Tag: v2.6.28-rc5~75^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a29a2af378f3f6362b68e126e2541c8bde885ead;p=pandora-kernel.git x86: KVM guest: fix section mismatch warning in kvmclock.c WARNING: arch/x86/kernel/built-in.o(.text+0x1722c): Section mismatch in reference from the function kvm_setup_secondary_clock() to the function .devinit.text:setup_secondary_APIC_clock() The function kvm_setup_secondary_clock() references the function __devinit setup_secondary_APIC_clock(). This is often because kvm_setup_secondary_clock lacks a __devinit annotation or the annotation of setup_secondary_APIC_clock is wrong. Signed-off-by: Md.Rakib H. Mullick Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Avi Kivity --- Reading git-diff-tree failed