|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] Typo at ia64 ptep_cmpxchg_rel()
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>
|
- [Xen-devel] [PATCH] Typo at ia64 ptep_cmpxchg_rel(),
Glauber de Oliveira Costa <=
|
|
|
|
|