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/mac53c94.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/mac53c94.c')
-rw-r--r-- | drivers/scsi/mac53c94.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/mac53c94.c b/drivers/scsi/mac53c94.c index 6422de72bf43..753d88306cd1 100644 --- a/drivers/scsi/mac53c94.c +++ b/drivers/scsi/mac53c94.c | |||
@@ -60,8 +60,8 @@ struct fsc_state { | |||
60 | 60 | ||
61 | static void mac53c94_init(struct fsc_state *); | 61 | static void mac53c94_init(struct fsc_state *); |
62 | static void mac53c94_start(struct fsc_state *); | 62 | static void mac53c94_start(struct fsc_state *); |
63 | static void mac53c94_interrupt(int, void *, struct pt_regs *); | 63 | static void mac53c94_interrupt(int, void *); |
64 | static irqreturn_t do_mac53c94_interrupt(int, void *, struct pt_regs *); | 64 | static irqreturn_t do_mac53c94_interrupt(int, void *); |
65 | static void cmd_done(struct fsc_state *, int result); | 65 | static void cmd_done(struct fsc_state *, int result); |
66 | static void set_dma_cmds(struct fsc_state *, struct scsi_cmnd *); | 66 | static void set_dma_cmds(struct fsc_state *, struct scsi_cmnd *); |
67 | 67 | ||
@@ -177,18 +177,18 @@ static void mac53c94_start(struct fsc_state *state) | |||
177 | set_dma_cmds(state, cmd); | 177 | set_dma_cmds(state, cmd); |
178 | } | 178 | } |
179 | 179 | ||
180 | static irqreturn_t do_mac53c94_interrupt(int irq, void *dev_id, struct pt_regs *ptregs) | 180 | static irqreturn_t do_mac53c94_interrupt(int irq, void *dev_id) |
181 | { | 181 | { |
182 | unsigned long flags; | 182 | unsigned long flags; |
183 | struct Scsi_Host *dev = ((struct fsc_state *) dev_id)->current_req->device->host; | 183 | struct Scsi_Host *dev = ((struct fsc_state *) dev_id)->current_req->device->host; |
184 | 184 | ||
185 | spin_lock_irqsave(dev->host_lock, flags); | 185 | spin_lock_irqsave(dev->host_lock, flags); |
186 | mac53c94_interrupt(irq, dev_id, ptregs); | 186 | mac53c94_interrupt(irq, dev_id); |
187 | spin_unlock_irqrestore(dev->host_lock, flags); | 187 | spin_unlock_irqrestore(dev->host_lock, flags); |
188 | return IRQ_HANDLED; | 188 | return IRQ_HANDLED; |
189 | } | 189 | } |
190 | 190 | ||
191 | static void mac53c94_interrupt(int irq, void *dev_id, struct pt_regs *ptregs) | 191 | static void mac53c94_interrupt(int irq, void *dev_id) |
192 | { | 192 | { |
193 | struct fsc_state *state = (struct fsc_state *) dev_id; | 193 | struct fsc_state *state = (struct fsc_state *) dev_id; |
194 | struct mac53c94_regs __iomem *regs = state->regs; | 194 | struct mac53c94_regs __iomem *regs = state->regs; |