]> err.no Git - linux-2.6/commit
[POWERPC] bootwrapper: Add ft_root_node().
authorScott Wood <scottwood@freescale.com>
Mon, 12 Mar 2007 20:41:42 +0000 (14:41 -0600)
committerPaul Mackerras <paulus@samba.org>
Tue, 13 Mar 2007 10:15:44 +0000 (21:15 +1100)
commit7c71c04625483c1da91846fd6746057d24ad6be8
tree7cf4ae6e3e450ae387054fa06c8d7b4b3949d650
parentce3edb30ec2b6350c4258e3d52e73b410e2ea12d
[POWERPC] bootwrapper: Add ft_root_node().

Clean up some of the open-coded data structure references by providing a
function to return a pointer to the tree's root node.  This is only used
in high-level functions trying to access the root of the tree, not in
low-level code that is actually manipulating the data structure.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Acked-by: Mark A. Greer <mgreer@mvista.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/flatdevtree.c