|
9 | 9 | *
|
10 | 10 | *
|
11 | 11 | * IDENTIFICATION
|
12 |
| - * $PostgreSQL: pgsql/src/backend/storage/lmgr/s_lock.c,v 1.44 2006/05/11 21:58:22 tgl Exp $ |
| 12 | + * $PostgreSQL: pgsql/src/backend/storage/lmgr/s_lock.c,v 1.45 2006/05/12 16:50:52 tgl Exp $ |
13 | 13 | *
|
14 | 14 | *-------------------------------------------------------------------------
|
15 | 15 | */
|
@@ -282,25 +282,6 @@ tas_dummy()/* really means: extern int tas(slock_t
|
282 | 282 | }
|
283 | 283 | #endif/* sun3 */
|
284 | 284 |
|
285 |
| - |
286 |
| -#if defined(__sparc__)|| defined(__sparc) |
287 |
| -/* |
288 |
| - * sparc machines not using gcc |
289 |
| - */ |
290 |
| -staticvoid |
291 |
| -tas_dummy()/* really means: extern int tas(slock_t |
292 |
| - * *lock); */ |
293 |
| -{ |
294 |
| -asm("_tas:"); |
295 |
| - |
296 |
| -/* |
297 |
| - * Sparc atomic test and set (sparc calls it "atomic load-store") |
298 |
| - */ |
299 |
| -asm("ldstub [%r8], %r8"); |
300 |
| -asm("retl"); |
301 |
| -asm("nop"); |
302 |
| -} |
303 |
| -#endif/* __sparc || __sparc__ */ |
304 | 285 | #endif/* not __GNUC__ */
|
305 | 286 | #endif/* HAVE_SPINLOCKS */
|
306 | 287 |
|
|