From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: [PATCH] x86: kvmclock needs to include apic.h Date: Fri, 14 Mar 2008 11:24:57 -0700 Message-ID: <20080314112457.a7bc2358.randy.dunlap@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel@lists.sourceforge.net, mingo , avi@qumranet.com, hpa To: lkml , linux-next@vger.kernel.org Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org From: Randy Dunlap 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 --- 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 #include #include +#include #include #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/