* [PATCH] Typo at ia64 ptep_cmpxchg_rel()
@ 2006-12-12 18:49 Glauber de Oliveira Costa
2006-12-12 22:47 ` Alex Williamson
0 siblings, 1 reply; 2+ messages in thread
From: Glauber de Oliveira Costa @ 2006-12-12 18:49 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 125 bytes --]
Code defined outside CONFIG_SMP has a typo.
Follows a fix.
--
Glauber de Oliveira Costa
Red Hat Inc.
"Free as in Freedom"
[-- Attachment #2: xen-npte-typo.patch --]
[-- Type: text/plain, Size: 755 bytes --]
# HG changeset patch
# User gcosta@redhat.com
# 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@redhat.com>
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
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Typo at ia64 ptep_cmpxchg_rel()
2006-12-12 18:49 [PATCH] Typo at ia64 ptep_cmpxchg_rel() Glauber de Oliveira Costa
@ 2006-12-12 22:47 ` Alex Williamson
0 siblings, 0 replies; 2+ messages in thread
From: Alex Williamson @ 2006-12-12 22:47 UTC (permalink / raw)
To: Glauber de Oliveira Costa; +Cc: xen-devel
On Tue, 2006-12-12 at 16:49 -0200, Glauber de Oliveira Costa wrote:
> Code defined outside CONFIG_SMP has a typo.
>
> Follows a fix.
Applied to xen-ia64-unstable.hg. Thanks!
Alex
--
Alex Williamson HP Open Source & Linux Org.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-12 22:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-12 18:49 [PATCH] Typo at ia64 ptep_cmpxchg_rel() Glauber de Oliveira Costa
2006-12-12 22:47 ` Alex Williamson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.