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
887b5a7b
Commit
887b5a7b
authored
Dec 23, 2003
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove NEED_I386_TAS_ASM and just test for compiler defines.
parent
f66b0ff0
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
4 additions
and
14 deletions
+4
-14
src/backend/storage/lmgr/s_lock.c
src/backend/storage/lmgr/s_lock.c
+1
-4
src/include/port/bsdi.h
src/include/port/bsdi.h
+0
-1
src/include/port/freebsd.h
src/include/port/freebsd.h
+0
-1
src/include/port/netbsd.h
src/include/port/netbsd.h
+0
-1
src/include/port/openbsd.h
src/include/port/openbsd.h
+0
-1
src/include/port/sco.h
src/include/port/sco.h
+0
-1
src/include/port/univel.h
src/include/port/univel.h
+0
-1
src/include/port/unixware.h
src/include/port/unixware.h
+0
-1
src/include/storage/s_lock.h
src/include/storage/s_lock.h
+3
-3
No files found.
src/backend/storage/lmgr/s_lock.c
View file @
887b5a7b
...
...
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/storage/lmgr/s_lock.c,v 1.1
8 2003/12/22 23:39:53
momjian Exp $
* $PostgreSQL: pgsql/src/backend/storage/lmgr/s_lock.c,v 1.1
9 2003/12/23 00:32:06
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -232,9 +232,6 @@ tas_dummy() /* really means: extern int tas(slock_t
#if defined(NEED_I386_TAS_ASM)
/* non gcc i386 based things */
#endif
/* NEED_I386_TAS_ASM */
#endif
/* not __GNUC__ */
...
...
src/include/port/bsdi.h
View file @
887b5a7b
#if defined(__i386__) || defined(__x86_64__)
#define NEED_I386_TAS_ASM
typedef
unsigned
char
slock_t
;
#endif
#if defined(__ia64)
...
...
src/include/port/freebsd.h
View file @
887b5a7b
#if defined(__i386__) || defined(__x86_64__)
#define NEED_I386_TAS_ASM
#define HAS_TEST_AND_SET
typedef
unsigned
char
slock_t
;
#endif
...
...
src/include/port/netbsd.h
View file @
887b5a7b
#if defined(__i386__) || defined(__x86_64__)
#define NEED_I386_TAS_ASM
#define HAS_TEST_AND_SET
typedef
unsigned
char
slock_t
;
#endif
...
...
src/include/port/openbsd.h
View file @
887b5a7b
#if defined(__i386__) || defined(__x86_64__)
#define NEED_I386_TAS_ASM
#define HAS_TEST_AND_SET
typedef
unsigned
char
slock_t
;
#endif
...
...
src/include/port/sco.h
View file @
887b5a7b
...
...
@@ -2,7 +2,6 @@
#define SCO_ACCEPT_BUG
#define HAS_TEST_AND_SET
#define NEED_I386_TAS_ASM
#define USE_UNIVEL_CC
...
...
src/include/port/univel.h
View file @
887b5a7b
#define HAS_TEST_AND_SET
#define NEED_I386_TAS_ASM
/***************************************
* Define this if you are compiling with
...
...
src/include/port/unixware.h
View file @
887b5a7b
#define HAS_TEST_AND_SET
#define NEED_I386_TAS_ASM
/* see src/backend/libpq/pqcomm.c */
#define SCO_ACCEPT_BUG
...
...
src/include/storage/s_lock.h
View file @
887b5a7b
...
...
@@ -63,7 +63,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.11
8 2003/12/22 23:36:38
momjian Exp $
* $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.11
9 2003/12/23 00:32:06
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -345,7 +345,7 @@ tas(volatile slock_t *lock)
* All non-gcc inlines
*/
#if defined(
NEED_I386_TAS_ASM) && defined(
USE_UNIVEL_CC)
#if defined(USE_UNIVEL_CC)
#define TAS(lock) tas(lock)
asm
int
...
...
@@ -361,7 +361,7 @@ tas(volatile slock_t *s_lock)
popl
%
ebx
}
#endif
/* defined(
NEED_I386_TAS_ASM) && defined(
USE_UNIVEL_CC) */
#endif
/* defined(USE_UNIVEL_CC) */
#endif
/* defined(__GNUC__) */
...
...
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