Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcd35d60

Browse files
committed
Put the isync where it's supposed to be.
1 parentd685417 commitcd35d60

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎src/include/storage/s_lock.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
6464
* Portions Copyright (c) 1994, Regents of the University of California
6565
*
66-
* $Id: s_lock.h,v 1.103 2002/11/22 01:13:16 tgl Exp $
66+
* $Id: s_lock.h,v 1.104 2003/04/04 05:32:30 tgl Exp $
6767
*
6868
*-------------------------------------------------------------------------
6969
*/
@@ -231,16 +231,16 @@ tas(volatile slock_t *lock)
231231
__asm__ __volatile__(
232232
"lwarx %0,0,%3\n"
233233
"cmpwi %0,0\n"
234-
"bne 1f\n"
234+
"bne 1f\n"
235235
"addi %0,%0,1\n"
236236
"stwcx. %0,0,%3\n"
237-
"isync\n"
238237
"beq 2f \n"
239238
"1:li %2,1\n"
240-
"b3f\n"
241-
"2:\n"
239+
"b3f\n"
240+
"2:\n"
241+
"isync\n"
242242
"li %2,0\n"
243-
"3:\n"
243+
"3:\n"
244244

245245
:"=&r" (_t),"=m" (lock),"=r" (_res)
246246
:"r" (lock)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp