diff options
Diffstat (limited to 'drivers/scsi/aic7xxx')
-rw-r--r-- | drivers/scsi/aic7xxx/aic79xx_osm.c | 4 | ||||
-rw-r--r-- | drivers/scsi/aic7xxx/aic7xxx_osm.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.c b/drivers/scsi/aic7xxx/aic79xx_osm.c index c7eeaced324a..1faa008b5b81 100644 --- a/drivers/scsi/aic7xxx/aic79xx_osm.c +++ b/drivers/scsi/aic7xxx/aic79xx_osm.c | |||
@@ -646,7 +646,7 @@ ahd_linux_dev_reset(struct scsi_cmnd *cmd) | |||
646 | struct ahd_initiator_tinfo *tinfo; | 646 | struct ahd_initiator_tinfo *tinfo; |
647 | struct ahd_tmode_tstate *tstate; | 647 | struct ahd_tmode_tstate *tstate; |
648 | unsigned long flags; | 648 | unsigned long flags; |
649 | DECLARE_COMPLETION(done); | 649 | DECLARE_COMPLETION_ONSTACK(done); |
650 | 650 | ||
651 | reset_scb = NULL; | 651 | reset_scb = NULL; |
652 | paused = FALSE; | 652 | paused = FALSE; |
@@ -2251,7 +2251,7 @@ done: | |||
2251 | if (paused) | 2251 | if (paused) |
2252 | ahd_unpause(ahd); | 2252 | ahd_unpause(ahd); |
2253 | if (wait) { | 2253 | if (wait) { |
2254 | DECLARE_COMPLETION(done); | 2254 | DECLARE_COMPLETION_ONSTACK(done); |
2255 | 2255 | ||
2256 | ahd->platform_data->eh_done = &done; | 2256 | ahd->platform_data->eh_done = &done; |
2257 | ahd_unlock(ahd, &flags); | 2257 | ahd_unlock(ahd, &flags); |
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.c b/drivers/scsi/aic7xxx/aic7xxx_osm.c index 64c8b88a429f..339b85cb61cd 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_osm.c +++ b/drivers/scsi/aic7xxx/aic7xxx_osm.c | |||
@@ -2335,7 +2335,7 @@ done: | |||
2335 | if (paused) | 2335 | if (paused) |
2336 | ahc_unpause(ahc); | 2336 | ahc_unpause(ahc); |
2337 | if (wait) { | 2337 | if (wait) { |
2338 | DECLARE_COMPLETION(done); | 2338 | DECLARE_COMPLETION_ONSTACK(done); |
2339 | 2339 | ||
2340 | ahc->platform_data->eh_done = &done; | 2340 | ahc->platform_data->eh_done = &done; |
2341 | ahc_unlock(ahc, &flags); | 2341 | ahc_unlock(ahc, &flags); |