]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/scsi/aic7xxx/aic7xxx_osm.c
[PATCH] completions: lockdep annotate on stack completions
[net-next-2.6.git] / drivers / scsi / aic7xxx / aic7xxx_osm.c
index 64c8b88a429fa1d11228138babe693518db30edb..339b85cb61cdbefb4a5bb9af77da7caf9f03b4ed 100644 (file)
@@ -2335,7 +2335,7 @@ done:
        if (paused)
                ahc_unpause(ahc);
        if (wait) {
-               DECLARE_COMPLETION(done);
+               DECLARE_COMPLETION_ONSTACK(done);
 
                ahc->platform_data->eh_done = &done;
                ahc_unlock(ahc, &flags);