Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 141351 Details for
Bug 206725
dev-db/{libpq,postgresql} 8.2.7/8.3.1 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
postgresql/files/postgresql-8.3_rc1-sh.patch
postgresql-8.3_rc1-sh.patch (text/plain), 773 bytes, created by
Marti Raudsepp
on 2008-01-20 01:09:46 UTC
(
hide
)
Description:
postgresql/files/postgresql-8.3_rc1-sh.patch
Filename:
MIME Type:
Creator:
Marti Raudsepp
Created:
2008-01-20 01:09:46 UTC
Size:
773 bytes
patch
obsolete
>--- postgresql-8.3RC1.orig/src/include/storage/s_lock.h 2006-06-08 00:24:45.000000000 +0200 >+++ postgresql-8.3RC1/src/include/storage/s_lock.h 2007-03-29 12:25:56.000000000 +0200 >@@ -299,6 +299,31 @@ > #endif /* __s390__ || __s390x__ */ > > >+#if defined(__sh__) >+#define HAS_TEST_AND_SET >+ >+typedef unsigned char slock_t; >+ >+#define TAS(lock) tas(lock) >+ >+static __inline__ int >+tas(volatile slock_t *lock) >+{ >+ register int _res = 1; >+ >+ __asm__ __volatile__( >+ "tas.b @%1\n\t" >+ "movt %0\n\t" >+ "xor #1,%0" >+: "=z"(_res) >+: "r"(lock) >+: "t","memory"); >+ return _res; >+} >+ >+#endif /* __sh__ */ >+ >+ > #if defined(__sparc__) /* Sparc */ > #define HAS_TEST_AND_SET >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 206725
:
141341
|
141343
|
141345
|
141347
|
141349
| 141351 |
141352
|
141354