From 378666333e3ff6b83147f285ce345ee92af696ed Mon Sep 17 00:00:00 2001 From: Vishwanath Venkatesan Date: Sat, 19 Aug 2023 09:21:42 -0500 Subject: [PATCH] Update shmem_mcs_lock.c - Some more minor alignment concerns --- oshmem/shmem/c/shmem_mcs_lock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/oshmem/shmem/c/shmem_mcs_lock.c b/oshmem/shmem/c/shmem_mcs_lock.c index ed8cbf130df..ec097ec3995 100644 --- a/oshmem/shmem/c/shmem_mcs_lock.c +++ b/oshmem/shmem/c/shmem_mcs_lock.c @@ -58,7 +58,7 @@ void _shmem_mcs_set_lock(long *lockp) { - lock_t *lock = (lock_t *) lockp; + lock_t *lock = (lock_t *) lockp; int mcs_tail_owner = MCSQ_TAIL_OWNER(lock); int new_tail_req = 0; int *tail = &(lock->tail); @@ -150,7 +150,7 @@ _shmem_mcs_set_lock(long *lockp) void _shmem_mcs_clear_lock(long *lockp) { - lock_t *lock = (lock_t *) lockp; + lock_t *lock = (lock_t *) lockp; int mcs_tail_owner = MCSQ_TAIL_OWNER(lock); int *tail = &(lock->tail); int *next = &(lock->next); @@ -213,7 +213,7 @@ int _shmem_mcs_test_lock(long *lockp) { - lock_t *lock = (lock_t *) lockp; + lock_t *lock = (lock_t *) lockp; int mcs_tail_owner = MCSQ_TAIL_OWNER(lock); int new_tail_req = 0; int prev_tail = 0;