Whamcloud - gitweb
LU-13258 libcfs: make apply_workqueue_attrs() available for Lustre
[fs/lustre-release.git] / libcfs / libcfs / module.c
index bb6abb6..81c1f6f 100644 (file)
@@ -719,9 +719,8 @@ static int __init libcfs_init(void)
 {
        int rc;
 
-#ifndef HAVE_WAIT_VAR_EVENT
-       wait_bit_init();
-#endif
+       cfs_arch_init();
+
        rc = libcfs_debug_init(5 * 1024 * 1024);
        if (rc < 0) {
                pr_err("LustreError: libcfs_debug_init: rc = %d\n", rc);