On Wed, Dec 11, 2002 at 11:41:24PM +0100, Oliver Neukum wrote: > > /* used when updating list of hcds */ > -DECLARE_MUTEX (usb_bus_list_lock); /* exported only for usbfs */ > -EXPORT_SYMBOL_GPL (usb_bus_list_lock); > +DECLARE_RWSEM (usb_topology_lock); /* exported only for usbfs */ > +EXPORT_SYMBOL_GPL (usb_topology_lock);
No, don't change this to a rwlock. It isn't needed. I changed this a long time ago to a simple semaphore and it should be kept that way. So without the type change, and the name change, this just adds a few places in usb.c to protect the list some more? thanks, greg k-h ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
