diff options
Diffstat (limited to 'ztd-loc.c')
-rwxr-xr-x | ztd-loc.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -66,7 +66,11 @@ #include <linux/zaptel.h> #endif +#ifdef DEFINE_SPINLOCK +static DEFINE_SPINLOCK(zlock); +#else static spinlock_t zlock = SPIN_LOCK_UNLOCKED; +#endif static struct ztdlocal { unsigned short key; |