summaryrefslogtreecommitdiff
path: root/lib/librthread/arch/sparc/_atomic_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librthread/arch/sparc/_atomic_lock.c')
-rw-r--r--lib/librthread/arch/sparc/_atomic_lock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/librthread/arch/sparc/_atomic_lock.c b/lib/librthread/arch/sparc/_atomic_lock.c
index c791314c8d1..f74daa509fb 100644
--- a/lib/librthread/arch/sparc/_atomic_lock.c
+++ b/lib/librthread/arch/sparc/_atomic_lock.c
@@ -1,9 +1,9 @@
-/* $OpenBSD: _atomic_lock.c,v 1.1 2005/12/25 16:00:02 miod Exp $ */
+/* $OpenBSD: _atomic_lock.c,v 1.2 2006/01/05 22:33:24 marc Exp $ */
/*
* Atomic lock for sparc
*/
-#include <machine/spinlock.h>
+#include <spinlock.h>
int
_atomic_lock(volatile _spinlock_lock_t * lock)