Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
48781d44
Commit
48781d44
authored
Dec 03, 2000
by
Thomas G. Lockhart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support IBM S/390. Patches from Neale Ferguson@softwareAG-usa.com.
parent
13dbd027
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
2 deletions
+32
-2
doc/src/sgml/installation.sgml
doc/src/sgml/installation.sgml
+8
-1
src/include/storage/s_lock.h
src/include/storage/s_lock.h
+24
-1
No files found.
doc/src/sgml/installation.sgml
View file @
48781d44
<
!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.3
0 2000/11/30 21:44:07 petere
Exp $ -->
<
!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.3
1 2000/12/03 14:41:47 thomas
Exp $ -->
<
chapter
id
=
"installation"
>
<
title
><
![%flattext-install-include[<productname>PostgreSQL</>]]> Installation Instructions</title>
...
...
@@ -1160,6 +1160,13 @@ gunzip -c user.ps.gz \
<entry>2000-04-12, Tom Lane (<email>tgl@sss.pgh.pa.us</>)</entry>
<entry>See also <filename>doc/FAQ_HPUX</></>
</row>
<row>
<entry>IBM</entry>
<entry>S/390</entry>
<entry>7.1</entry>
<entry>2000-11-17, Neale Ferguson (<email>Neale.Ferguson@softwareAG-usa.com</>)</entry>
<entry></>
</row>
<row>
<entry>IRIX 6.5.6f</entry>
<entry>MIPS</entry>
...
...
src/include/storage/s_lock.h
View file @
48781d44
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.7
4 2000/11/28 23:27:57 tgl
Exp $
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.7
5 2000/12/03 14:41:42 thomas
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -128,6 +128,29 @@ __asm__("swpb %0, %0, [%3]": "=r"(_res), "=m"(*lock):"0"(_res), "r" (lock));
#endif
/* __arm__ */
#if defined(__s390__)
/*
* S/390 Linux
*/
#define TAS(lock) tas(lock)
static
inline
int
tas
(
volatile
slock_t
*
lock
)
{
int
_res
;
__asm__
__volatile
(
" la 1,1
\n
"
" l 2,%2
\n
"
" slr 0,0
\n
"
" cs 0,1,0(2)
\n
"
" lr %1,0"
:
"=m"
(
lock
),
"=d"
(
_res
)
:
"m"
(
lock
)
:
"0"
,
"1"
,
"2"
);
return
(
_res
);
}
#endif
/* __s390__ */
#if defined(__sparc__)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment