From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glauber de Oliveira Costa Subject: [PATCH] Typo at ia64 ptep_cmpxchg_rel() Date: Tue, 12 Dec 2006 16:49:16 -0200 Message-ID: <20061212184915.GC20319@redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="A6N2fC+uXW/VQSAv" Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --A6N2fC+uXW/VQSAv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Code defined outside CONFIG_SMP has a typo. Follows a fix. -- Glauber de Oliveira Costa Red Hat Inc. "Free as in Freedom" --A6N2fC+uXW/VQSAv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline; filename="xen-npte-typo.patch" # 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 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 --A6N2fC+uXW/VQSAv Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --A6N2fC+uXW/VQSAv--