1 diff -Naur kvm-kmod-2.6.38.6.org/x86/external-module-compat.h kvm-kmod-2.6.38.6/x86/external-module-compat.h
2 --- kvm-kmod-2.6.38.6.org/x86/external-module-compat.h 2011-05-15 09:34:48.000000000 +0200
3 +++ kvm-kmod-2.6.38.6/x86/external-module-compat.h 2011-05-21 13:30:50.529469540 +0200
8 -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37)
9 -static inline u64 pvclock_scale_delta(u64 delta, u32 mul_frac, int shift)
30 - : "=A" (product), "=r" (tmp1), "=r" (tmp2)
31 - : "a" ((u32)delta), "1" ((u32)(delta >> 32)), "2" (mul_frac) );
32 -#elif defined(__x86_64__)
34 - "mul %%rdx ; shrd $32,%%rdx,%%rax"
35 - : "=a" (product) : "0" (delta), "d" ((u64)mul_frac) );
44 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,34) && \
45 LINUX_VERSION_CODE != KERNEL_VERSION(2,6,32) && defined(CONFIG_X86_64)