Files
linux/include
Michael Ellerman 6a281856c0 [POWERPC] Add a warning to help trackdown device_node refcounting bugs
When the refcount for a device node goes to 0, we call the
destructor - of_node_release(). This should only happen if we've
already detached the node from the device tree.

So add a flag OF_DETACHED which tracks detached-ness, and if we
find ourselves in of_node_release() without it set, issue a
warning and don't free the device_node. To avoid warning
continuously reinitialise the kref to a sane value.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-07-10 21:53:47 +10:00
..
2007-06-02 01:02:09 -04:00
2007-06-01 08:18:29 -07:00
2007-05-30 13:15:06 +01:00
2007-05-11 08:29:34 -07:00
2007-06-07 17:00:25 -07:00
2007-06-01 08:18:29 -07:00
2007-05-21 09:18:19 -07:00
2007-05-14 09:55:35 +09:00
2007-05-11 08:29:34 -07:00
2007-05-11 08:29:34 -07:00
2007-05-21 09:18:19 -07:00
2007-05-31 11:03:27 +02:00