aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aic7xxx
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2006-10-01 02:28:10 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-01 03:39:24 -0400
commit6e9a4738c9fadb7cbdcabc1e3b415159f3741ed9 (patch)
tree0e470bb8cd431d59698da5a6999ff35a347619a3 /drivers/scsi/aic7xxx
parent397d6140e93156ecb9cafcd9be0db10ff3c12ab3 (diff)
[PATCH] completions: lockdep annotate on stack completions
All on stack DECLARE_COMPLETIONs should be replaced by: DECLARE_COMPLETION_ONSTACK Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Acked-by: Ingo Molnar <mingo@elte.hu> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi/aic7xxx')
-rw-r--r--drivers/scsi/aic7xxx/aic79xx_osm.c4
-rw-r--r--drivers/scsi/aic7xxx/aic7xxx_osm.c2
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);