[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080314112457.a7bc2358.randy.dunlap@oracle.com>
Date: Fri, 14 Mar 2008 11:24:57 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: lkml <linux-kernel@...r.kernel.org>, linux-next@...r.kernel.org
Cc: kvm-devel@...ts.sourceforge.net, avi@...ranet.com,
tglx <tglx@...utronix.de>, mingo <mingo@...hat.com>,
hpa <hpa@...or.com>
Subject: [PATCH] x86: kvmclock needs to include apic.h
From: Randy Dunlap <randy.dunlap@...cle.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@...cle.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists