Typo at ia64 ptep_cmpxchg_rel()
PATCH 1/1 Typo at ia64 ptep_cmpxchg_rel()
Code defined outside CONFIG_SMP has a typo.
Follows a fix.
Signature · 3 lines
Glauber de Oliveira Costa Red Hat Inc. "Free as in Freedom"
# HG changeset patch
# User [email protected]
# 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 <[email protected]>
xen/include/asm-ia64/linux-xen/asm/pgtable.h +1 -1
@@ -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
[email protected]
http://lists.xensource.com/xen-devel
Alex Williamson
AppliedQuoted 3 lines · Glauber de Oliveira Costa
Code defined outside
CONFIG_SMPhas a typo.Follows a fix.
Applied to xen-ia64-unstable.hg. Thanks!
Alex
Signature · 1 line
Alex Williamson HP Open Source & Linux Org.