[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.