lkml.org 
[lkml]   [2006]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.15-rt20 compilation errors
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-08 09:21    [W:0.396 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site