summaryrefslogtreecommitdiff
path: root/lib/libc_r/arch/sparc/_atomic_lock.c
blob: 35b50e3ada5984b5bb18ec833c594f51a77f8f86 (plain)
1
2
3
4
5
6
7
8
9
10
/*	$OpenBSD	*/
/* atomic lock for sparc */
 
#include "spinlock.h"

register_t
_atomic_lock(volatile register_t * lock)
{
	return _thread_slow_atomic_lock(lock);
}