]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/kvm-kmod-3.0b_remove_pvclock_scale_delta_redefinition.patch
Add iptables rule to add miniupnd rules to forward chain.
[ipfire-2.x.git] / src / patches / kvm-kmod-3.0b_remove_pvclock_scale_delta_redefinition.patch
CommitLineData
ea452c11
AF
1diff -Naur kvm-kmod-3.0b.org/x86/external-module-compat.h kvm-kmod-3.0b/x86/external-module-compat.h
2--- kvm-kmod-3.0b.org/x86/external-module-compat.h 2011-07-23 16:39:10.000000000 +0200
3+++ kvm-kmod-3.0b/x86/external-module-compat.h 2011-08-13 21:37:56.046677541 +0200
4@@ -1095,7 +1095,7 @@
5
6 #endif /* >= 2.6.36 */
7
8-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37) || \
9+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37) && \
10 (LINUX_VERSION_CODE == KERNEL_VERSION(2,6,32) && KERNEL_EXTRAVERSION < 40)
11 static inline u64 pvclock_scale_delta(u64 delta, u32 mul_frac, int shift)
12 {