]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Remove irq_host_ops->remap hook
authorMilton Miller <miltonm@bga.com>
Tue, 10 May 2011 19:30:26 +0000 (19:30 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 19 May 2011 05:31:53 +0000 (15:31 +1000)
commit7d0f9e7a358f2f354a2fef11b0220497f8054bdd
tree8512a5dcee8eaf0dc78c4814aecf1413cc4b8869
parent9d0a800b6805dc34de984e1fca45152ff45d2048
powerpc: Remove irq_host_ops->remap hook

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: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/irq.h
arch/powerpc/kernel/irq.c
arch/powerpc/platforms/cell/beat_interrupt.c