From: Glauber de Oliveira Costa <gcosta@redhat.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] Typo at ia64 ptep_cmpxchg_rel()
Date: Tue, 12 Dec 2006 16:49:16 -0200 [thread overview]
Message-ID: <20061212184915.GC20319@redhat.com> (raw)
[-- 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
next reply other threads:[~2006-12-12 18:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-12 18:49 Glauber de Oliveira Costa [this message]
2006-12-12 22:47 ` [PATCH] Typo at ia64 ptep_cmpxchg_rel() Alex Williamson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061212184915.GC20319@redhat.com \
--to=gcosta@redhat.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.