[PATCH] KVM: Qemu: fix compilation error in IA64
"Zhang, Yang" <[email protected]>
| Newsgroups | org.kernel.vger.kvm-ia64,org.kernel.vger.kvm |
|---|---|
| Message-ID | <10C63FAD690C13458F0B32BCED571F140F98ED43@pdsmsx502.ccr.corp.intel.com> |
fix compilation error in IA64 Signed-off-by: Yang Zhang <Yang Zhang> --- kernel/ia64/external-module-compat.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) 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 -- 1.6.0.rc1
0001-KVM-Qemu-fix-compilation-error-in-IA64.patch
(application/octet-stream, 886 B)
From 0714123c279861b74a6ee5d3990a9af40dfb6b1c Mon Sep 17 00:00:00 2001 From: Yang Zhang <Yang Zhang> Date: Wed, 1 Apr 2009 06:19:11 -0400 Subject: [PATCH] KVM: Qemu: fix compilation error in IA64 fix compilation error in IA64 Signed-off-by: Yang Zhang <Yang Zhang> --- kernel/ia64/external-module-compat.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) 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 -- 1.6.0.rc1