diff --git a/ipc/sem.c b/ipc/sem.c index 5e318c5..85cc5bf 100644 --- a/ipc/sem.c +++ b/ipc/sem.c @@ -363,14 +363,6 @@ static inline int sem_lock(struct sem_array *sma, struct sembuf *sops, */ spin_lock(&sem->lock); - /* - * See 51d7d5205d33 - * ("powerpc: Add smp_mb() to arch_spin_is_locked()"): - * A full barrier is required: the write of sem->lock - * must be visible before the read is executed - */ - smp_mb(); - if (!smp_load_acquire(&sma->complex_mode)) { /* fast path successful! */ return sops->sem_num;