* [PATCH] x86: kvmclock needs to include apic.h
@ 2008-03-14 18:24 Randy Dunlap
2008-03-16 11:11 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2008-03-14 18:24 UTC (permalink / raw)
To: lkml, linux-next; +Cc: kvm-devel, avi, tglx, mingo, hpa
From: Randy Dunlap <randy.dunlap@oracle.com>
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
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
arch/x86/kernel/kvmclock.c | 1 +
1 file changed, 1 insertion(+)
--- next-20080314.orig/arch/x86/kernel/kvmclock.c
+++ next-20080314/arch/x86/kernel/kvmclock.c
@@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] x86: kvmclock needs to include apic.h
2008-03-14 18:24 [PATCH] x86: kvmclock needs to include apic.h Randy Dunlap
@ 2008-03-16 11:11 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2008-03-16 11:11 UTC (permalink / raw)
To: Randy Dunlap; +Cc: lkml, linux-next, kvm-devel, tglx, mingo, hpa
Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
>
> 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
>
>
Applied, thanks.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-03-16 11:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-14 18:24 [PATCH] x86: kvmclock needs to include apic.h Randy Dunlap
2008-03-16 11:11 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox