lkml.org 
[lkml]   [2006]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.15-rt1
> I get this compiling 15-rt1:
>
> ,----
> | CC net/ipv6/mcast.o
> | net/ipv6/mcast.c: In function `ipv6_sock_mc_join':
> | net/ipv6/mcast.c:227: error: `RW_LOCK_UNLOCKED' undeclared (first use in this function)
> | net/ipv6/mcast.c:227: error: (Each undeclared identifier is reported only once
> | net/ipv6/mcast.c:227: error: for each function it appears in.)
> | make[2]: *** [net/ipv6/mcast.o] Error 1
> `----
>
> I take it something on the order of this is needed?:
>
> - mc_lst->sflock = RW_LOCK_UNLOCKED;
> + mc_lst->sflock = RW_LOCK_UNLOCKED(foo.bar);
>
> for some foo.bar, yes?
>
> Or is it?:
>
> - mc_lst->sflock = RW_LOCK_UNLOCKED;
> + rwlock_init(mc_lst->sflock);
>
> I'm trying the latter now, but won't be able to reboot for
> a runtime test for a while....
>

Take a look at the 15-rt1-sr1 patch it has a fix for this
there was also a fix posted earlier in the thread :)

and its:
- mc_lst->sflock = RW_LOCK_UNLOCKED;
+ mc_lst->sflock = RW_LOCK_UNLOCKED(mc_list->fslock);

- David Brown
-
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-01-05 22:02    [W:1.791 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site