• Milton Miller's avatar
    powerpc: Remove irq_host_ops->remap hook · da051980
    Milton Miller authored
    It was called from irq_create_mapping if that was called for a host
    and hwirq that was previously mapped, "to update the flags".  But the
    only implementation was in beat_interrupt and all it did was repeat a
    hypervisor call without error checking that was performed with error
    checking at the beginning of the map hook.  In addition, the comment on
    the beat remap hook says it will only called once for a given mapping,
    which would apply to map not remap.
    
    All flags should be known by the time the match hook is called, before
    we call the map hook.  Removing this mostly unused hook will simpify
    the requirements of irq_domain concept.
    Signed-off-by: default avatarMilton Miller <miltonm@bga.com>
    Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
    da051980
irq.c 26.6 KB