X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Flinux%2Fif_shaper.h;h=68c896a36a3441b9da82fc65713b334201b06215;hb=997b7af2fe0810ca82a2f801a295218b51426e5a;hp=004e6f09a6e2daf89387bb2d1794cdd377c0ec1d;hpb=f45727d52d1581e9ff4df9d1a12a60789ad2d1eb;p=powerpc.git diff --git a/include/linux/if_shaper.h b/include/linux/if_shaper.h index 004e6f09a6..68c896a36a 100644 --- a/include/linux/if_shaper.h +++ b/include/linux/if_shaper.h @@ -23,7 +23,7 @@ struct shaper __u32 shapeclock; unsigned long recovery; /* Time we can next clock a packet out on an empty queue */ - struct semaphore sem; + spinlock_t lock; struct net_device_stats stats; struct net_device *dev; int (*hard_start_xmit) (struct sk_buff *skb,