Displaying 1 result from an estimated 1 matches for "zaptimerlock".
2006 Mar 15
0
Zaptel compile errors on x86_64 - DEFINE_SPINLOCK???
Hi, (sorry for my mistake in not deleting the rest of the message just now)
The problem seems to be here in zaptel.c (and torisa.c)
#ifdef DEFINE_SPINLOCK
static DEFINE_SPINLOCK(zaptimerlock);
static DEFINE_SPINLOCK(bigzaplock);
#else
static spinlock_t zaptimerlock = SPIN_LOCK_UNLOCKED;
static spinlock_t bigzaplock = SPIN_LOCK_UNLOCKED;
#endif
If I remark out as follows:
//#ifdef DEFINE_SPINLOCK
//static DEFINE_SPINLOCK(zaptimerlock);
//static DEFINE_SPINLOCK(bigzaplock);
//#else
sta...