X-Git-Url: http://git.onelab.eu/?p=linux-2.6.git;a=blobdiff_plain;f=net%2Ftux%2Fmod.c;fp=net%2Ftux%2Fmod.c;h=fc52566af20b548e97fb49486daf2fff9a532b20;hp=e3e192de637dbcc721fb28ffe0607c7382c0d85d;hb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;hpb=4e76c8a9fa413ccc09d3f7f664183dcce3555d57 diff --git a/net/tux/mod.c b/net/tux/mod.c index e3e192de6..fc52566af 100644 --- a/net/tux/mod.c +++ b/net/tux/mod.c @@ -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)