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-devel

[Xen-devel] [PATCH] Typo at ia64 ptep_cmpxchg_rel()

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Typo at ia64 ptep_cmpxchg_rel()
From: Glauber de Oliveira Costa <gcosta@xxxxxxxxxx>
Date: Tue, 12 Dec 2006 16:49:16 -0200
Delivery-date: Tue, 12 Dec 2006 10:48:48 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
Code defined outside CONFIG_SMP has a typo.

Follows a fix.

-- 
Glauber de Oliveira Costa
Red Hat Inc.
"Free as in Freedom"
# HG changeset patch
# User gcosta@xxxxxxxxxx
# Date 1165952833 18000
# Node ID 9c41aea48e4181768227abf1136b344403855b92
# Parent  37141c3a3d39956ad5faf2d4e2a91276eaca557b
[IA64] Fix typo : npte not defined

new_pte is what we want here.

Signed-off-by: Glauber de Oliveira Costa <gcosta@xxxxxxxxxx>

diff -r 37141c3a3d39 -r 9c41aea48e41 
xen/include/asm-ia64/linux-xen/asm/pgtable.h
--- a/xen/include/asm-ia64/linux-xen/asm/pgtable.h      Mon Dec 11 15:06:53 
2006 +0000
+++ b/xen/include/asm-ia64/linux-xen/asm/pgtable.h      Tue Dec 12 14:47:13 
2006 -0500
@@ -502,7 +502,7 @@ ptep_cmpxchg_rel(struct mm_struct *mm, u
 #else
        pte_t pte = *ptep;
        if (pte_val(pte) == pte_val(old_pte)) {
-               set_pte(ptep, npte);
+               set_pte(ptep, new_pte);
        }
        return pte;
 #endif
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>