Re-enable spinlocks on {i386,x86_64} since they are now used only for really

small atomic operations (add/sub). This implementation should be enough for
that purpose.
This commit is contained in:
gbeauche 2005-06-30 13:29:43 +00:00
parent e867749999
commit fd69df24f3

View File

@ -288,8 +288,7 @@ static inline int testandset(volatile int *p)
}
#endif
/* FIXME: SheepShaver occasionnally hangs with those locks */
#if 0 && (defined(__i386__) || defined(__x86_64__))
#if defined(__i386__) || defined(__x86_64__)
#define HAVE_TEST_AND_SET 1
static inline int testandset(volatile int *p)
{