mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
PPC spinlocks work again. Sorry, my bad.
(This used to be commit 6612abf827
)
This commit is contained in:
parent
36c7d52ed8
commit
032f65d5ff
@ -94,7 +94,7 @@ static inline int __spin_trylock(spinlock_t *lock)
|
||||
: "r"(lock)
|
||||
: "cr0", "memory");
|
||||
|
||||
return (result == 0) ? 0 : EBUSY;
|
||||
return (result == 1) ? 0 : EBUSY;
|
||||
}
|
||||
|
||||
static inline void __spin_unlock(spinlock_t *lock)
|
||||
|
Loading…
Reference in New Issue
Block a user