lkml.org 
[lkml]   [2006]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [patch] lockdep, annotate slocks: turn lockdep off for them
From
On Sat, Jul 01, 2006 at 07:06:22AM -0700, Miles Lane wrote:
>
> >@@ -3260,6 +3268,8 @@ while (0)
> > SET_NETDEV_DEV(dev, sdev);
> > if (ret >= 0)
> > ret = register_netdevice(dev);
> >+
> >+ lockdep_set_class(&dev->_xmit_lock, &hostap_netdev_xmit_lock_key);
> > rtnl_unlock();
> > if (ret < 0) {
> > printk(KERN_WARNING "%s: register netdevice failed!\n",
>
> After rebuilding with this patch, I still get the lockdep message.
> Everything is the same except now the "other info" section reads:

Perhaps the same trick needs to be applied to the queue lock?

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
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-07-02 00:06    [W:0.094 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site