repository: /home/avi/kvm branch: master commit 82b23c50836b12f8833e95eb894513f422ef1359 Author: Avi Kivity <[EMAIL PROTECTED]> Date: Sun Sep 9 18:53:33 2007 +0300
kvm: external module: compatibility for HRTIMER_MODE_ABS name change 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-commits mailing list kvm-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-commits