Re: 2.6.15-rt20 compilation errors
From: Jan Altenberg
Date: Wed Mar 08 2006 - 03:16:12 EST
Hi,
> I have noticed that -rt19 and -rt20 doesn't compile on my system.
I just had a quick glance at kernel/rt-debug.h
For example debug_rt_lockmode_spin_trylock is defined as followed:
# define debug_rt_lockmode_spin_trylock(_lock) \
_raw_spin_trylock((_lock)->debug_slock)
But _raw_spin_trylock expects a pointer to a raw_spinlock_t. So
shouldn't it be
# define debug_rt_lockmode_spin_trylock(_lock) \
_raw_spin_trylock(&(_lock)->debug_slock)
??
Same for debug_rt_lockmode_spin_unlock and debug_rt_lockmode_spin_trylock.
Regards
JAN
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/