sh: Fix IPR-IRQ's for IRQ-chip change breakage.
authorJamie Lenehan <lenehan@twibble.org>
Tue, 31 Oct 2006 03:35:02 +0000 (12:35 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 31 Oct 2006 03:53:28 +0000 (12:53 +0900)
commitbd71ab88deab3358241f22ed6c035c427aacc4e7
tree632aa998acac7feb7df79684f4c382a6d6bf2294
parent1f6c526c409ed7ecdd02469c46ab4b4a50ebec45
sh: Fix IPR-IRQ's for IRQ-chip change breakage.

The conversion from IPR-IRQ to IRQ-chip resulted in the
ipr data being allocated in a local variable in
make_ipr_irq - breaking anything using IPR interrupts.

This changes all of the callers of make_ipr_irq to
allocate a static structure containing the IPR data which
is then passed to make_ipr_irq. This removes the need for
make_ipr_irq to allocate any additional space for the IPR
information.

Signed-off-by: Jamie Lenehan <lenehan@twibble.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
14 files changed:
arch/sh/boards/renesas/hs7751rvoip/setup.c
arch/sh/boards/renesas/sh7710voipgw/setup.c
arch/sh/boards/se/7300/irq.c
arch/sh/boards/se/73180/irq.c
arch/sh/boards/se/7343/irq.c
arch/sh/boards/se/770x/irq.c
arch/sh/boards/se/7751/irq.c
arch/sh/boards/sh03/setup.c
arch/sh/boards/snapgear/setup.c
arch/sh/boards/titan/setup.c
arch/sh/drivers/dma/dma-sh.c
arch/sh/kernel/cpu/irq/ipr.c
arch/sh/kernel/cpu/irq/pint.c
include/asm-sh/irq.h