]> err.no Git - linux-2.6/blobdiff - block/as-iosched.c
[MIPS] Pass NULL not 0 for pointer value.
[linux-2.6] / block / as-iosched.c
index 165509e8659ef7642ec0e60ec5d6c511a46ccafe..50b95e4c1425b8ae3950451c146c020da4b0b146 100644 (file)
@@ -1479,7 +1479,7 @@ static int __init as_init(void)
 
 static void __exit as_exit(void)
 {
-       DECLARE_COMPLETION(all_gone);
+       DECLARE_COMPLETION_ONSTACK(all_gone);
        elv_unregister(&iosched_as);
        ioc_gone = &all_gone;
        /* ioc_gone's update must be visible before reading ioc_count */