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
eaae21fb
Commit
eaae21fb
authored
Aug 17, 1997
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for alphalinux port by abrams@philos.umass.edu
parent
9d90de5d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
7 deletions
+20
-7
src/backend/storage/ipc/s_lock.c
src/backend/storage/ipc/s_lock.c
+9
-5
src/include/port/linux.h
src/include/port/linux.h
+10
-2
src/template/.similar
src/template/.similar
+1
-0
No files found.
src/backend/storage/ipc/s_lock.c
View file @
eaae21fb
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/Attic/s_lock.c,v 1.1
6 1997/08/12 22:53:55 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/Attic/s_lock.c,v 1.1
7 1997/08/17 02:39:54 scrappy
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -44,7 +44,11 @@
#if defined(HAS_TEST_AND_SET)
# if defined(__alpha__) && defined(linux)
extern
long
int
tas
(
slock_t
*
lock
);
# else
extern
int
tas
(
slock_t
*
lock
);
#endif
#if defined (nextstep)
/*
...
...
@@ -126,7 +130,7 @@ S_LOCK_FREE(slock_t *lock)
* (see storage/ipc.h).
*/
#if defined(
alpha) && !defined(linuxalpha
)
#if defined(
__alpha__
)
void
S_LOCK
(
slock_t
*
lock
)
...
...
@@ -409,9 +413,9 @@ S_INIT_LOCK(slock_t *lock)
#endif
/* NEED_I386_TAS_ASM */
#if defined(
linuxalpha
)
#if defined(
__alpha__) && defined(linux
)
int
long
int
tas
(
slock_t
*
m
)
{
slock_t
res
;
...
...
@@ -451,7 +455,7 @@ S_INIT_LOCK(slock_t *lock)
S_UNLOCK
(
lock
);
}
#endif
#endif
/* defined(__alpha__) && defined(linux) */
#if defined(linux) && defined(sparc)
...
...
src/include/port/linux.h
View file @
eaae21fb
...
...
@@ -12,8 +12,6 @@
# if defined(PPC)
typedef
unsigned
int
slock_t
;
# else
typedef
unsigned
char
slock_t
;
# endif
# if defined(PPC)
...
...
@@ -24,3 +22,13 @@
# if defined(sparc)
# undef NEED_I386_TAS_ASM
# endif
# if defined(__alpha__)
# undef NEED_I386_TAS_ASM
# endif
# if defined(__alpha__)
typedef
long
int
slock_t
;
# else
typedef
unsigned
char
slock_t
;
# endif
src/template/.similar
View file @
eaae21fb
...
...
@@ -8,3 +8,4 @@ i386-unknown-netbsd=netbsd
mips-sgi-irix5=irix5
sparc-sun-solaris2=sparc_solaris-gcc
sparc-unknown-linux-gnu=linux-elf
alpha-unknown-linux-gnu=linuxalpha
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