]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Check for the root node in of_detach_node()
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 19 Jun 2007 06:07:56 +0000 (16:07 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 10 Jul 2007 11:53:45 +0000 (21:53 +1000)
commit972d17c9dbad378da61baa17f4c3ea6e154b186a
tree0e8fb037ceaafbb77a9a66001a4ebeb5ec454217
parent333e615483afc5203d1cae1490e50982d6eefbea
[POWERPC] Check for the root node in of_detach_node()

It's not sensible to call of_detach_node() on the root node,
but we should check for it just to be safe.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom.c