x86: kvmclock needs to include apic.h
Subsystems (3)
PATCH 1/1 x86: kvmclock needs to include apic.h
From: Randy Dunlap <[email protected]>
kvmclock needs to #include apic.h to prevent a build error:
next-20080314/arch/x86/kernel/kvmclock.c:142: error: implicit declaration of function 'setup_secondary_APIC_clock' elan1.out:make[2]: *** [arch/x86/kernel/kvmclock.o] Error 1
--- arch/x86/kernel/kvmclock.c | 1 + 1 file changed, 1 insertion(+)
arch/x86/kernel/kvmclock.c +1 -0
@@ -20,6 +20,7 @@#include <linux/kvm_para.h> #include <asm/arch_hooks.h> #include <asm/msr.h> +#include <asm/apic.h> #include <linux/percpu.h> #define KVM_SCALE 22
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Avi Kivity
AppliedQuoted 8 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
kvmclock needs to #include
apic.hto prevent a build error:
next-20080314/arch/x86/kernel/kvmclock.c:142: error: implicit declaration of function 'setup_secondary_APIC_clock' elan1.out:make[2]: *** [arch/x86/kernel/kvmclock.o] Error 1
Applied, thanks.
Signature · 7 lines
error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/