From: Yang Zhang <Yang Zhang>

Signed-off-by: Yang Zhang <Yang Zhang>
Signed-off-by: Avi Kivity <a...@redhat.com>

diff --git a/kernel/ia64/external-module-compat.h 
b/kernel/ia64/external-module-compat.h
index 592733c..bc78c3d 100644
--- a/kernel/ia64/external-module-compat.h
+++ b/kernel/ia64/external-module-compat.h
@@ -42,6 +42,12 @@ typedef u64 phys_addr_t;
 
 #endif
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
+
+#define PAGE_KERNEL_UC __pgprot(__DIRTY_BITS  | _PAGE_PL_0 | _PAGE_AR_RWX | \
+                                       _PAGE_MA_UC)
+#endif
+
 #endif
 
 #ifndef CONFIG_HAVE_KVM_IRQCHIP
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to