1
0
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:
Anton Blanchard 2001-10-06 10:36:15 +00:00
parent 36c7d52ed8
commit 032f65d5ff

View File

@ -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)