summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/irq.c
diff options
context:
space:
mode:
authorPaul Mundt2010-09-23 13:09:38 +0200
committerPaul Mundt2010-10-04 18:15:47 +0200
commit44629f57accccbb8e6d443246fe6f51b42f7f781 (patch)
treeb75bab4a39a2be40f58a9d6daac4a208035300fe /arch/sh/kernel/irq.c
parentsh: pfc: Fix up BUG() triggered by gpiolib debugfs lookups. (diff)
downloadkernel-qcow2-linux-44629f57accccbb8e6d443246fe6f51b42f7f781.tar.gz
kernel-qcow2-linux-44629f57accccbb8e6d443246fe6f51b42f7f781.tar.xz
kernel-qcow2-linux-44629f57accccbb8e6d443246fe6f51b42f7f781.zip
sh: intc: Implement reverse mapping for IRQs to per-controller IDs.
This implements a scheme roughly analogous to the PowerPC virtual to hardware IRQ mapping, which we use for IRQ to per-controller ID mapping. This makes it possible for drivers to use the IDs directly for lookup instead of hardcoding the vector. The main motivation for this work is as a building block for dynamically allocating virtual IRQs for demuxing INTC events sharing a single INTEVT in addition to a common masking source. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/irq.c')
0 files changed, 0 insertions, 0 deletions