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

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 <linux/cpu.h>
 #include <asm/processor.h>
+#include <linux/hrtimer.h>
 
 /*
  * 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
-------------------------------------------------------------------------
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/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to