summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2005-12-19 21:30:11 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2005-12-19 21:30:11 +0000
commit8a506a17e82b35a1f7c64e5f12d0209684db28d6 (patch)
tree967c219e51771a4b9dc965fc5ef579723385c1ab /sys
parent67622060e6bd6cdf1ecf9436b690274618883df7 (diff)
Fix hppa ldcw alignment issue.
Help deraadt, tedu, kettenis Ok tedu, kettenis
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/hppa/include/spinlock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/include/spinlock.h b/sys/arch/hppa/include/spinlock.h
index a429cc3910b..221f35a8621 100644
--- a/sys/arch/hppa/include/spinlock.h
+++ b/sys/arch/hppa/include/spinlock.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: spinlock.h,v 1.1 1999/01/08 08:25:34 d Exp $ */
+/* $OpenBSD: spinlock.h,v 1.2 2005/12/19 21:30:10 marco Exp $ */
#ifndef _MACHINE_SPINLOCK_H_
#define _MACHINE_SPINLOCK_H_
#define _SPINLOCK_UNLOCKED (1)
#define _SPINLOCK_LOCKED (0)
-typedef int _spinlock_lock_t;
+typedef int _spinlock_lock_t __attribute__((__aligned__(16)));
#endif