aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aic7xxx/aic79xx_osm.c
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/aic79xx_osm.c
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/aic79xx_osm.c')
-rw-r--r--drivers/scsi/aic7xxx/aic79xx_osm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.c b/drivers/scsi/aic7xxx/aic79xx_osm.c
index c7eeaced324..1faa008b5b8 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);