From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Build of kvm-37 fails Date: Sun, 09 Sep 2007 16:40:12 +0300 Message-ID: <46E3F7BC.6060101@qumranet.com> References: <46E3F396.4080705@quicknet.nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------020201010402090607070201" Cc: kvm-devel To: Pelle Return-path: In-Reply-To: <46E3F396.4080705-5JapdU7xTciEVqv0pETR8A@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org This is a multi-part message in MIME format. --------------020201010402090607070201 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Pelle wrote: > Hi, > > I tried to compile the new kvm-37, and got the following errors: > > regards, Pelle > > > Does the attached patch help? -- error compiling committee.c: too many arguments to function --------------020201010402090607070201 Content-Type: text/x-chdr; name="hrtimer-compat.h" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="hrtimer-compat.h" diff --git a/kernel/external-module-compat.h b/kernel/external-module-compat.h index 33f1675..00b43f1 100644 --- a/kernel/external-module-compat.h +++ b/kernel/external-module-compat.h @@ -12,6 +12,7 @@ #include "include/linux/kvm.h" #include #include +#include /* * 2.6.16 does not have GFP_NOWAIT @@ -362,3 +363,8 @@ static inline void preempt_notifier_sys_init(void) {} static inline void preempt_notifier_sys_exit(void) {} #endif + +/* HRTIMER_MODE_ABS started life with a different name */ +#ifndef HRTIMER_MODE_ABS +#define HRTIMER_MODE_ABS HRTIMER_ABS +#endif --------------020201010402090607070201 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --------------020201010402090607070201 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel --------------020201010402090607070201--