X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=net%2F802%2Fpsnap.c;h=1053821ddf933c922f01e5e8a9733046b0e64676;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=f243d37dba35d6dae0a7f09be292ac5a0a5c0b15;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/net/802/psnap.c b/net/802/psnap.c index f243d37db..1053821dd 100644 --- a/net/802/psnap.c +++ b/net/802/psnap.c @@ -22,7 +22,7 @@ #include static LIST_HEAD(snap_list); -static spinlock_t snap_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(snap_lock); static struct llc_sap *snap_sap; /*