Commit cd35d601 authored by Tom Lane's avatar Tom Lane

Put the isync where it's supposed to be.

parent d685417f
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * 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 $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -234,11 +234,11 @@ tas(volatile slock_t *lock) ...@@ -234,11 +234,11 @@ tas(volatile slock_t *lock)
" bne 1f \n" " bne 1f \n"
" addi %0,%0,1 \n" " addi %0,%0,1 \n"
" stwcx. %0,0,%3 \n" " stwcx. %0,0,%3 \n"
" isync \n"
" beq 2f \n" " beq 2f \n"
"1: li %2,1 \n" "1: li %2,1 \n"
" b 3f \n" " b 3f \n"
"2: \n" "2: \n"
" isync \n"
" li %2,0 \n" " li %2,0 \n"
"3: \n" "3: \n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment