WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [linux-2.6.18-xen] linux/i386: Use normal set_pmd() in v

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] linux/i386: Use normal set_pmd() in vmalloc_sync_one() on modern Xen
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 22 Nov 2007 12:01:11 -0800
Delivery-date: Thu, 22 Nov 2007 13:27:49 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1195741325 0
# Node ID fac1d2462ab415296cdd29c027a149910910ece9
# Parent  f790103dfd6417861af0adde1e9687fa1b86b4f1
linux/i386: Use normal set_pmd() in vmalloc_sync_one() on modern Xen
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 arch/i386/mm/fault-xen.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r f790103dfd64 -r fac1d2462ab4 arch/i386/mm/fault-xen.c
--- a/arch/i386/mm/fault-xen.c  Thu Nov 22 14:20:07 2007 +0000
+++ b/arch/i386/mm/fault-xen.c  Thu Nov 22 14:22:05 2007 +0000
@@ -382,11 +382,11 @@ static inline pmd_t *vmalloc_sync_one(pg
        if (!pmd_present(*pmd_k))
                return NULL;
        if (!pmd_present(*pmd))
-#ifndef CONFIG_XEN
+#if CONFIG_XEN_COMPAT > 0x030002
                set_pmd(pmd, *pmd_k);
 #else
                /*
-                * When running on Xen we must launder *pmd_k through
+                * When running on older Xen we must launder *pmd_k through
                 * pmd_val() to ensure that _PAGE_PRESENT is correctly set.
                 */
                set_pmd(pmd, __pmd(pmd_val(*pmd_k)));

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] linux/i386: Use normal set_pmd() in vmalloc_sync_one() on modern Xen, Xen patchbot-linux-2.6.18-xen <=