Changes DTLS to use spin-pdr-locks
[akaros.git] / user / parlib / include / spinlock.h
index a119dfc..e6c10c5 100644 (file)
@@ -70,6 +70,8 @@ struct spin_pdr_lock {
 
 #endif /* __CONFIG_SPINPDR_NO_CAS__ */
 
+typedef struct spin_pdr_lock spinpdrlock_t;
+
 void spin_pdr_init(struct spin_pdr_lock *pdr_lock);
 void spin_pdr_lock(struct spin_pdr_lock *pdr_lock);
 void spin_pdr_unlock(struct spin_pdr_lock *pdr_lock);