Skip to content

Commit c538dfe

Browse files
author
Alexander Korotkov
committed
Fix #endif location for PPC-optimized LWLockAttemptLock.
1 parent 410aa2d commit c538dfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/storage/lmgr/lwlock.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -890,6 +890,8 @@ LWLockAttemptLock(LWLock *lock, LWLockMode mode)
890890
pg_unreachable();
891891
}
892892

893+
#endif
894+
893895
/*
894896
* Lock the LWLock's wait list against concurrent activity.
895897
*
@@ -960,8 +962,6 @@ LWLockWaitListUnlock(LWLock *lock)
960962
Assert(old_state & LW_FLAG_LOCKED);
961963
}
962964

963-
#endif
964-
965965
/*
966966
* Wakeup all the lockers that currently have a chance to acquire the lock.
967967
*/

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy