]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mpic: Cache the device-tree node in "struct mpic"
authorKyle Moffett <Kyle.D.Moffett@boeing.com>
Fri, 2 Dec 2011 06:28:06 +0000 (06:28 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 7 Dec 2011 02:43:08 +0000 (13:43 +1100)
commitdd8dd72d2988e54e066b17fe226fa4815a35ee10
tree3a485e889b8f9680c5b244c651acd0af7c1621b7
parent5d637dbf0fe72969038bc9f19b38559bdf8ec955
powerpc/mpic: Cache the device-tree node in "struct mpic"

Store the node pointer in the MPIC during initialization so that all of
the later operational code can just reuse the cached pointer.

Signed-off-by: Kyle Moffett <Kyle.D.Moffett@boeing.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/mpic.h
arch/powerpc/sysdev/mpic.c