diff options
author | 2011-12-02 06:28:07 +0000 | |
---|---|---|
committer | 2011-12-07 13:43:09 +1100 | |
commit | 09dc34a95bfbc6062e1e7de0b96175480924aea8 (patch) | |
tree | d21a67d125278304324415ae2b7c23aa056584dc /arch/powerpc/kernel/sysfs.c | |
parent | powerpc/mpic: Cache the device-tree node in "struct mpic" (diff) | |
download | wireguard-linux-09dc34a95bfbc6062e1e7de0b96175480924aea8.tar.xz wireguard-linux-09dc34a95bfbc6062e1e7de0b96175480924aea8.zip |
powerpc/mpic: Add in-core support for cascaded MPICs
The Cell and PowerMac platforms use virtually identical cascaded-IRQ
setup code, so just merge it into the core. Ideally this code would
trigger automatically when an MPIC device-node specifies an "interrupts"
property, perhaps even enabling MPIC_SECONDARY along the way.
Unfortunately, Benjamin Herrenschmidt has had bad experiences in the
past with the quality of Apple PowerMac device-trees, so to be safe we
will only try to parse out an IRQ if the MPIC_SECONDARY flag is set by
the caller.
Signed-off-by: Kyle Moffett <Kyle.D.Moffett@boeing.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/sysfs.c')
0 files changed, 0 insertions, 0 deletions