repository: /home/avi/kvm branch: master commit bfa3017e736846f23cdd45da333af5036f2bcb05 Author: He, Qing <[EMAIL PROTECTED]> Date: Mon Sep 10 10:24:12 2007 +0300
kvm: external module: fix HRTIMER_MODE_ABS name compatibility it's not an macro, so we can't #ifdef it. diff --git a/kernel/external-module-compat.h b/kernel/external-module-compat.h index 00b43f1..74bc072 100644 --- a/kernel/external-module-compat.h +++ b/kernel/external-module-compat.h @@ -365,6 +365,6 @@ static inline void preempt_notifier_sys_exit(void) {} #endif /* HRTIMER_MODE_ABS started life with a different name */ -#ifndef HRTIMER_MODE_ABS +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,21) #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