X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Flinux%2Fif_shaper.h;h=68c896a36a3441b9da82fc65713b334201b06215;hb=2ee121631b9dd0291502ccac6f897907505faf8c;hp=004e6f09a6e2daf89387bb2d1794cdd377c0ec1d;hpb=5ab6091db0b644f59c2f16c5e41028496b709160;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,