diff -ur -i /root/src/kvm-kmod-3.3/external-module-compat-comm.h kvm-kmod-3.3/external-module-compat-comm.h
--- /root/src/kvm-kmod-3.3/external-module-compat-comm.h	2012-03-20 06:00:42.000000000 +0800
+++ kvm-kmod-3.3/external-module-compat-comm.h	2012-04-16 22:00:59.815810075 +0800
@@ -718,7 +718,8 @@
 #endif
 }
 
-#if defined(CONFIG_PCI) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33) && \
+#if 0 
+defined(CONFIG_PCI) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33) && \
     (!defined(CONFIG_SUSE_KERNEL) || LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32))
 #include <linux/pci.h>
 static inline struct pci_dev *
@@ -743,7 +744,7 @@
 
 #endif
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35)
+#if 0 //LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35)
 struct perf_guest_info_callbacks {
 	int (*is_in_guest) (void);
 	int (*is_user_mode) (void);
@@ -901,7 +902,8 @@
 #define __rcu
 #endif
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37) && \
+#if 0 
+LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37) && \
     (!defined(CONFIG_FEDORA_KERNEL) || \
      (LINUX_VERSION_CODE == KERNEL_VERSION(2,6,35) && \
       KERNEL_EXTRAVERSION < 11) || \
@@ -932,7 +934,8 @@
 #define kvm_request_threaded_irq	request_threaded_irq
 #endif
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
+#if 0
+LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
 #define compound_trans_head(page) compound_head(page)
 
 static inline int PageTransCompound(struct page *page)
@@ -984,7 +987,7 @@
 #define __set_bit_le	ext2_set_bit
 #endif
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3,0,0)
+#if 0 //LINUX_VERSION_CODE < KERNEL_VERSION(3,0,0)
 static inline void rcu_virt_note_context_switch(int cpu)
 {
 }
@@ -1008,7 +1011,7 @@
 #endif /* >= 3.1 */
 #endif /* CONFIG_COMPAT */
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)
+#if 0 //LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)
 
 #ifdef CONFIG_PRINTK
 #define printk_ratelimited(fmt, ...)					\
@@ -1021,7 +1024,7 @@
 		printk(fmt, ##__VA_ARGS__);				\
 })
 #else
-#define printk_ratelimited(fmt, ...)
+//#define printk_ratelimited(fmt, ...)
 #endif
 
 #define pr_err_ratelimited(fmt, ...)					\
diff -ur -i /root/src/kvm-kmod-3.3/x86/external-module-compat.h kvm-kmod-3.3/x86/external-module-compat.h
--- /root/src/kvm-kmod-3.3/x86/external-module-compat.h	2012-03-20 06:00:42.000000000 +0800
+++ kvm-kmod-3.3/x86/external-module-compat.h	2012-04-16 22:01:35.657969473 +0800
@@ -1115,7 +1115,8 @@
 
 #endif /* >= 2.6.36 */
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37) && \
+#if 0
+LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37) && \
     (LINUX_VERSION_CODE != KERNEL_VERSION(2,6,32) || KERNEL_EXTRAVERSION < 40)
 static inline u64 pvclock_scale_delta(u64 delta, u32 mul_frac, int shift)
 {
@@ -1173,7 +1174,7 @@
 	asm("mov %%" #seg ",%0":"=r" (value) : : "memory")
 #endif
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35)
+#if 0 //LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35)
 #define static_cpu_has(bit) boot_cpu_has(bit)
 #endif
 
diff -ur -i /root/src/kvm-kmod-3.3/x86/mmu.c kvm-kmod-3.3/x86/mmu.c
--- /root/src/kvm-kmod-3.3/x86/mmu.c	2012-03-20 06:00:56.000000000 +0800
+++ kvm-kmod-3.3/x86/mmu.c	2012-04-16 22:02:46.925967148 +0800
@@ -3939,9 +3939,9 @@
 	kvm_mmu_prepare_zap_page(kvm, page, invalid_list);
 }
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0)
+#if 0 // LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0)
 static int mmu_shrink(struct shrinker *shrink, struct shrink_control *sc)
-#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)
+#elif 1 //LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)
 static int mmu_shrink(struct shrinker *shrink, int nr_to_scan, gfp_t gfp_mask)
 #else
 static int mmu_shrink(int nr_to_scan, gfp_t gfp_mask)
