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/gdth.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/gdth.c')
-rw-r--r-- | drivers/scsi/gdth.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c index 0f3eb22b979a..4bc14ad92e22 100644 --- a/drivers/scsi/gdth.c +++ b/drivers/scsi/gdth.c | |||
@@ -424,7 +424,7 @@ | |||
424 | 424 | ||
425 | static void gdth_delay(int milliseconds); | 425 | static void gdth_delay(int milliseconds); |
426 | static void gdth_eval_mapping(ulong32 size, ulong32 *cyls, int *heads, int *secs); | 426 | static void gdth_eval_mapping(ulong32 size, ulong32 *cyls, int *heads, int *secs); |
427 | static irqreturn_t gdth_interrupt(int irq, void *dev_id, struct pt_regs *regs); | 427 | static irqreturn_t gdth_interrupt(int irq, void *dev_id); |
428 | static int gdth_sync_event(int hanum,int service,unchar index,Scsi_Cmnd *scp); | 428 | static int gdth_sync_event(int hanum,int service,unchar index,Scsi_Cmnd *scp); |
429 | static int gdth_async_event(int hanum); | 429 | static int gdth_async_event(int hanum); |
430 | static void gdth_log_event(gdth_evt_data *dvr, char *buffer); | 430 | static void gdth_log_event(gdth_evt_data *dvr, char *buffer); |
@@ -1804,7 +1804,7 @@ static int gdth_wait(int hanum,int index,ulong32 time) | |||
1804 | 1804 | ||
1805 | gdth_from_wait = TRUE; | 1805 | gdth_from_wait = TRUE; |
1806 | do { | 1806 | do { |
1807 | gdth_interrupt((int)ha->irq,ha,NULL); | 1807 | gdth_interrupt((int)ha->irq,ha); |
1808 | if (wait_hanum==hanum && wait_index==index) { | 1808 | if (wait_hanum==hanum && wait_index==index) { |
1809 | answer_found = TRUE; | 1809 | answer_found = TRUE; |
1810 | break; | 1810 | break; |
@@ -3406,7 +3406,7 @@ static void gdth_clear_events(void) | |||
3406 | 3406 | ||
3407 | /* SCSI interface functions */ | 3407 | /* SCSI interface functions */ |
3408 | 3408 | ||
3409 | static irqreturn_t gdth_interrupt(int irq,void *dev_id,struct pt_regs *regs) | 3409 | static irqreturn_t gdth_interrupt(int irq,void *dev_id) |
3410 | { | 3410 | { |
3411 | gdth_ha_str *ha2 = (gdth_ha_str *)dev_id; | 3411 | gdth_ha_str *ha2 = (gdth_ha_str *)dev_id; |
3412 | register gdth_ha_str *ha; | 3412 | register gdth_ha_str *ha; |