![]() | |||||||||||||
Messages in this thread |
* Dmitry Torokhov <dmitry.torokhov@gmail.com> wrote:
> >#define lockdep_set_subclass(lock, subclass) \
> > ({ static struct lock_key_class __key; \
> > lockdep_init_map(&(lock)->dep_map, concat(lock, subclass), \
> > &__key, subclass); })
>
> That leaves unneeded __key (another one was already created by
> mutex_init...) but it tucked away nicely in the define so it is fine
> by me.
>
> Ingo, do you want to send these changes on or you want me to push them
> through my tree?
could you send that commit to Andrew? It looks good to me, and the
unavailability of the lockdep_set_subclass() API upstream is hindering
Jiri now.
Ingo
-
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-10-13 06:23 [from the cache] ©2003-2008 | |||||||||||||