kvm-ia64.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Zhang, Yang" <yang.zhang@intel.com>
To: kvm-ia64@vger.kernel.org
Subject: [PATCH] KVM: Qemu: fix compilation error in IA64
Date: Thu, 02 Apr 2009 01:58:12 +0000	[thread overview]
Message-ID: <10C63FAD690C13458F0B32BCED571F140F98ED43@pdsmsx502.ccr.corp.intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 714 bytes --]

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

[-- Attachment #2: 0001-KVM-Qemu-fix-compilation-error-in-IA64.patch --]
[-- Type: application/octet-stream, Size: 886 bytes --]

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


             reply	other threads:[~2009-04-02  1:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-02  1:58 Zhang, Yang [this message]
2009-04-02  9:58 ` [PATCH] KVM: Qemu: fix compilation error in IA64 Avi Kivity
2009-05-12  8:23 ` [PATCH] kvm: qemu: fix compilation error in ia64 Zhang, Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10C63FAD690C13458F0B32BCED571F140F98ED43@pdsmsx502.ccr.corp.intel.com \
    --to=yang.zhang@intel.com \
    --cc=kvm-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).