]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
x86: KVM guest: fix section mismatch warning in kvmclock.c
authorRakib Mullick <rakib.mullick@gmail.com>
Wed, 29 Oct 2008 21:13:39 +0000 (14:13 -0700)
committerAvi Kivity <avi@redhat.com>
Tue, 11 Nov 2008 18:55:10 +0000 (20:55 +0200)
commita29a2af378f3f6362b68e126e2541c8bde885ead
tree9358c42cb95e567ca10f7a9418c0455c0f2c5a7d
parenta2e4e28946c2c282a040ba4945c8f7288de69118
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 <rakib.mullick@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kernel/kvmclock.c