1 Mar 2006 14:52
[PATCH] pktgen: Convert thread lock to mutexes.
Luiz Fernando Capitulino <lcapitulino <at> mandriva.com.br>
2006-03-01 13:52:21 GMT
2006-03-01 13:52:21 GMT
Hi! pktgen's thread semaphores are strict mutexes, convert them to the mutex implementation. Signed-off-by: Luiz Capitulino <lcapitulino <at> mandriva.com.br> --- net/core/pktgen.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) 1185abd5dacbca3052ccd93e059c497bbc8869b2 diff --git a/net/core/pktgen.c b/net/core/pktgen.c index 2221b86..2618a7b 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c <at> <at> -113,6 +113,7 <at> <at> #include <linux/moduleparam.h> #include <linux/kernel.h> #include <linux/smp_lock.h> +#include <linux/mutex.h> #include <linux/sched.h> #include <linux/slab.h> #include <linux/vmalloc.h> <at> <at> -153,7 +154,7 <at> <at> #include <asm/div64.h> /* do_div */ #include <asm/timex.h>(Continue reading)
RSS Feed