]> 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)
commit097983a60f1f1e755de575c4957ef53a8c29008b
tree3a485e889b8f9680c5b244c651acd0af7c1621b7
parente1b6fdbfd058bfc0f163ab43a8566303e94a3143
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