• P
    sh: intc: Implement reverse mapping for IRQs to per-controller IDs. · 44629f57
    Paul Mundt 提交于
    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: NPaul Mundt <lethal@linux-sh.org>
    44629f57
sh_intc.h 3.0 KB