From cd35d601b859d3a56632696b8d5293cbe547764b Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 4 Apr 2003 05:32:30 +0000 Subject: [PATCH] Put the isync where it's supposed to be. --- src/include/storage/s_lock.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h index c7dd885fbf..d45baaa93b 100644 --- a/src/include/storage/s_lock.h +++ b/src/include/storage/s_lock.h @@ -63,7 +63,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: s_lock.h,v 1.103 2002/11/22 01:13:16 tgl Exp $ + * $Id: s_lock.h,v 1.104 2003/04/04 05:32:30 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -231,16 +231,16 @@ tas(volatile slock_t *lock) __asm__ __volatile__( " lwarx %0,0,%3 \n" " cmpwi %0,0 \n" -" bne 1f \n" +" bne 1f \n" " addi %0,%0,1 \n" " stwcx. %0,0,%3 \n" -" isync \n" " beq 2f \n" "1: li %2,1 \n" -" b 3f \n" -"2: \n" +" b 3f \n" +"2: \n" +" isync \n" " li %2,0 \n" -"3: \n" +"3: \n" : "=&r" (_t), "=m" (lock), "=r" (_res) : "r" (lock)