On Fri, Feb 5, 2010 at 1:50 PM, Anton Vorontsov <avoront...@ru.mvista.com> wrote: > Platform code use node->data to store some private information > associated with a node. > > Previously there was no need for any locks and accessors since we were > initializing the data mostly at boot time and never modified it later. > > Though, nowadays OF GPIO infrastructure supports GPIO chips detaching, > so to handle this correctly we have to introduce locking for the > node->data field.
I'm not convinced this is needed. What's wrong with using the whole-tree devtree_lock? g. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev