Messages in this thread | | | Date | Sun, 2 Jul 2006 00:07:50 +1000 | Subject | Re: [patch] lockdep, annotate slocks: turn lockdep off for them | From | Herbert Xu <> |
| |
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/
| |