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 /drivers/scsi/NCR_D700.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 'drivers/scsi/NCR_D700.c')
-rw-r--r-- | drivers/scsi/NCR_D700.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/NCR_D700.c b/drivers/scsi/NCR_D700.c index d05681f9d81a..9859cd17fc57 100644 --- a/drivers/scsi/NCR_D700.c +++ b/drivers/scsi/NCR_D700.c | |||
@@ -226,14 +226,14 @@ NCR_D700_probe_one(struct NCR_D700_private *p, int siop, int irq, | |||
226 | } | 226 | } |
227 | 227 | ||
228 | static int | 228 | static int |
229 | NCR_D700_intr(int irq, void *data, struct pt_regs *regs) | 229 | NCR_D700_intr(int irq, void *data) |
230 | { | 230 | { |
231 | struct NCR_D700_private *p = (struct NCR_D700_private *)data; | 231 | struct NCR_D700_private *p = (struct NCR_D700_private *)data; |
232 | int i, found = 0; | 232 | int i, found = 0; |
233 | 233 | ||
234 | for (i = 0; i < 2; i++) | 234 | for (i = 0; i < 2; i++) |
235 | if (p->hosts[i] && | 235 | if (p->hosts[i] && |
236 | NCR_700_intr(irq, p->hosts[i], regs) == IRQ_HANDLED) | 236 | NCR_700_intr(irq, p->hosts[i]) == IRQ_HANDLED) |
237 | found++; | 237 | found++; |
238 | 238 | ||
239 | return found ? IRQ_HANDLED : IRQ_NONE; | 239 | return found ? IRQ_HANDLED : IRQ_NONE; |