diff options
Diffstat (limited to 'src/backend/storage/ipc/spin.c')
| -rw-r--r-- | src/backend/storage/ipc/spin.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/backend/storage/ipc/spin.c b/src/backend/storage/ipc/spin.c index 0d6aac7fbae..d14a0dfd0a3 100644 --- a/src/backend/storage/ipc/spin.c +++ b/src/backend/storage/ipc/spin.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/storage/ipc/Attic/spin.c,v 1.11 1998/06/15 19:29:16 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/storage/ipc/Attic/spin.c,v 1.12 1998/06/23 15:35:44 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -60,10 +60,10 @@ InitSpinLocks(int init, IPCKey key) extern SPINLOCK SInvalLock; extern SPINLOCK OidGenLockId; -#ifdef MAIN_MEMORY +#ifdef STABLE_MEMORY_STORAGE extern SPINLOCK MMCacheLock; -#endif /* SONY_JUKEBOX */ +#endif /* These six spinlocks have fixed location is shmem */ ShmemLock = (SPINLOCK) SHMEMLOCKID; @@ -74,9 +74,9 @@ InitSpinLocks(int init, IPCKey key) SInvalLock = (SPINLOCK) SINVALLOCKID; OidGenLockId = (SPINLOCK) OIDGENLOCKID; -#ifdef MAIN_MEMORY +#ifdef STABLE_MEMORY_STORAGE MMCacheLock = (SPINLOCK) MMCACHELOCKID; -#endif /* MAIN_MEMORY */ +#endif return (TRUE); } @@ -285,10 +285,10 @@ InitSpinLocks(int init, IPCKey key) extern SPINLOCK SInvalLock; extern SPINLOCK OidGenLockId; -#ifdef MAIN_MEMORY +#ifdef STABLE_MEMORY_STORAGE extern SPINLOCK MMCacheLock; -#endif /* MAIN_MEMORY */ +#endif if (!init || key != IPC_PRIVATE) { @@ -313,9 +313,9 @@ InitSpinLocks(int init, IPCKey key) SInvalLock = (SPINLOCK) SINVALLOCKID; OidGenLockId = (SPINLOCK) OIDGENLOCKID; -#ifdef MAIN_MEMORY +#ifdef STABLE_MEMORY_STORAGE MMCacheLock = (SPINLOCK) MMCACHELOCKID; -#endif /* MAIN_MEMORY */ +#endif return (TRUE); } |
