]> git.hungrycats.org Git - linux/commitdiff
[PATCH] crc32 and lib.a (was Re: [PATCH] nbd in 2.5.3 does
authorPetr Vandrovec <vandrove@vc.cvut.cz>
Tue, 5 Feb 2002 09:24:28 +0000 (01:24 -0800)
committerPetr Vandrovec <vandrove@vc.cvut.cz>
Tue, 5 Feb 2002 09:24:28 +0000 (01:24 -0800)
  I've found that multiple level initcalls went into kernel
behind my back, so you can throw away my yesterday patch
which converted lib.a => lib.o, and apply this one.

[Patch tested with both lib.a and lib.o - it boots correctly
in both cases]

lib/crc32.c

index c0470a25d764981f6f17d6d41b01f59e36e15d85..ef9f5caefe87c234af4b25387dc8d5f325be1bb2 100644 (file)
@@ -564,7 +564,7 @@ static void __exit cleanup_crc32(void)
        crc32cleanup_be();
 }
 
-module_init(init_crc32);
+fs_initcall(init_crc32);
 module_exit(cleanup_crc32);
 
 EXPORT_SYMBOL(crc32_le);