summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/include/lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa/include/lock.h')
-rw-r--r--sys/arch/hppa/include/lock.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hppa/include/lock.h b/sys/arch/hppa/include/lock.h
index 9df47129a62..5120425631a 100644
--- a/sys/arch/hppa/include/lock.h
+++ b/sys/arch/hppa/include/lock.h
@@ -1,10 +1,12 @@
-/* $OpenBSD: lock.h,v 1.1 2007/05/01 18:56:30 miod Exp $ */
+/* $OpenBSD: lock.h,v 1.2 2010/07/01 03:38:50 jsing Exp $ */
/* public domain */
#ifndef _HPPA_LOCK_H_
#define _HPPA_LOCK_H_
+#include <machine/atomic.h>
+
typedef volatile u_int __cpu_simple_lock_t __attribute__((__aligned__(16)));
#define __SIMPLELOCK_LOCKED 0