diff mbox

build fix for external module with 2.6.27

Message ID f19173c90902030311q6af529fahd90a57b0d3ea60c9@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Thomas Cataldo Feb. 3, 2009, 11:11 a.m. UTC
Hello,

I had to apply to following trivial patch to my kvm git checkout to
build the external module on 2.6.27.
diff mbox

Patch

diff --git a/kernel/external-module-compat-comm.h b/kernel/external-module-compat-comm.h
index 981dc96..9156a0c 100644
--- a/kernel/external-module-compat-comm.h
+++ b/kernel/external-module-compat-comm.h
@@ -613,7 +613,7 @@  static inline void kvm_hrtimer_start_expires(struct hrtimer *timer, int mode)
 
 #endif
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)
 
 static inline ktime_t kvm_hrtimer_expires_remaining(const struct hrtimer *timer)
 {