diff options
author | Kyle Moffett <Kyle.D.Moffett@boeing.com> | 2011-12-02 07:28:06 +0100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-12-07 03:43:08 +0100 |
commit | c51242e7080d2265761de309cdea222d7e27bdfe (patch) | |
tree | 3a485e889b8f9680c5b244c651acd0af7c1621b7 /arch/powerpc/include/asm/mpic.h | |
parent | powerpc/mpic: Put "pic-no-reset" test back into the MPIC code (diff) | |
download | linux-c51242e7080d2265761de309cdea222d7e27bdfe.tar.xz linux-c51242e7080d2265761de309cdea222d7e27bdfe.zip |
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>
Diffstat (limited to 'arch/powerpc/include/asm/mpic.h')
-rw-r--r-- | arch/powerpc/include/asm/mpic.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/mpic.h b/arch/powerpc/include/asm/mpic.h index b9d2c0fb0492..67b4d9837236 100644 --- a/arch/powerpc/include/asm/mpic.h +++ b/arch/powerpc/include/asm/mpic.h @@ -251,6 +251,9 @@ struct mpic_irq_save { /* The instance data of a given MPIC */ struct mpic { + /* The OpenFirmware dt node for this MPIC */ + struct device_node *node; + /* The remapper for this MPIC */ struct irq_host *irqhost; |