Merge to Fedora kernel-2.6.18-1.2224_FC5 patched with stable patch-2.6.18.1-vs2.0...
[linux-2.6.git] / net / tux / mod.c
index 1489114..fc52566 100644 (file)
@@ -26,7 +26,7 @@
  *
  ****************************************************************/
 
-spinlock_t tuxmodules_lock = SPIN_LOCK_UNLOCKED;
+DEFINE_SPINLOCK(tuxmodules_lock);
 static LIST_HEAD(tuxmodules_list);
 
 tcapi_template_t * get_first_usermodule (void)
@@ -101,7 +101,7 @@ int register_tuxmodule (tcapi_template_t *tcapi)
                Dprintk("module with VFS binding '%s' already registered!\n",
                                                 tcapi->vfs_name);
                goto out;
-       } 
+       }
 
        list_add(&tcapi->modules, &tuxmodules_list);
        ret = 0;