summaryrefslogtreecommitdiff
path: root/include/openvswitch
diff options
context:
space:
mode:
Diffstat (limited to 'include/openvswitch')
-rw-r--r--include/openvswitch/thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openvswitch/thread.h b/include/openvswitch/thread.h
index acc822904..5053cb309 100644
--- a/include/openvswitch/thread.h
+++ b/include/openvswitch/thread.h
@@ -34,7 +34,7 @@ struct OVS_LOCKABLE ovs_mutex {
};
#ifdef HAVE_PTHREAD_SPIN_LOCK
-struct OVS_LOCKABLE ovs_spin {
+OVS_ALIGNED_STRUCT(64, OVS_LOCKABLE ovs_spin) {
pthread_spinlock_t lock;
const char *where; /* NULL if and only if uninitialized. */
};