diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
commit | 44aefd2706bb6f5b65ba2c38cd89e7609e2b43d3 (patch) | |
tree | 93824f573767da634fbc82c388b6d33cc454212b /arch/frv/kernel/dma.c | |
parent | c1a26e7d40fb814716950122353a1a556844286b (diff) | |
parent | 7d12e780e003f93433d49ce78cfedf4b4c52adc5 (diff) |
Merge git://git.infradead.org/~dhowells/irq-2.6
* git://git.infradead.org/~dhowells/irq-2.6:
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
IRQ: Typedef the IRQ handler function type
IRQ: Typedef the IRQ flow handler function type
Diffstat (limited to 'arch/frv/kernel/dma.c')
-rw-r--r-- | arch/frv/kernel/dma.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/frv/kernel/dma.c b/arch/frv/kernel/dma.c index f5de6cf7df4e..156184e17e57 100644 --- a/arch/frv/kernel/dma.c +++ b/arch/frv/kernel/dma.c | |||
@@ -121,15 +121,14 @@ unsigned long frv_dma_inprogress; | |||
121 | /* | 121 | /* |
122 | * DMA irq handler - determine channel involved, grab status and call real handler | 122 | * DMA irq handler - determine channel involved, grab status and call real handler |
123 | */ | 123 | */ |
124 | static irqreturn_t dma_irq_handler(int irq, void *_channel, struct pt_regs *regs) | 124 | static irqreturn_t dma_irq_handler(int irq, void *_channel) |
125 | { | 125 | { |
126 | struct frv_dma_channel *channel = _channel; | 126 | struct frv_dma_channel *channel = _channel; |
127 | 127 | ||
128 | frv_clear_dma_inprogress(channel - frv_dma_channels); | 128 | frv_clear_dma_inprogress(channel - frv_dma_channels); |
129 | return channel->handler(channel - frv_dma_channels, | 129 | return channel->handler(channel - frv_dma_channels, |
130 | __get_DMAC(channel->ioaddr, CSTR), | 130 | __get_DMAC(channel->ioaddr, CSTR), |
131 | channel->data, | 131 | channel->data); |
132 | regs); | ||
133 | 132 | ||
134 | } /* end dma_irq_handler() */ | 133 | } /* end dma_irq_handler() */ |
135 | 134 | ||