]> git.openfabrics.org - ~shefty/rdma-dev.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)
commitc51242e7080d2265761de309cdea222d7e27bdfe
tree3a485e889b8f9680c5b244c651acd0af7c1621b7
parentc579bc766a84a57c31d7b41276ffa9545a34ee1b
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