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

Commitaf0a152

Browse files
committed
Fix byte-vs-word-width oversight in m68k TAS() code.
Man, this brings back some old memories ...
1 parent11da9e5 commitaf0a152

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎src/include/storage/s_lock.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.87 2001/02/02 18:21:59 momjian Exp $
12+
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.88 2001/02/10 04:07:25 tgl Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -222,8 +222,9 @@ tas(volatile slock_t *lock)
222222
registerintrv;
223223

224224
__asm____volatile__(
225-
"tas%1\n"
226-
"sne%0\n"
225+
"clrl%0\n"
226+
"tas%1\n"
227+
"sne%0\n"
227228
:"=d"(rv),"=m"(*lock)
228229
:"1"(*lock)
229230
:"cc");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp