Searched hist:"6146 e6a43b3584c0c67b0ac94e3f14fdc618bd30" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/core/ |
H A D | pktgen.c | diff 6146e6a43b3584c0c67b0ac94e3f14fdc618bd30 Tue Mar 21 00:24:45 CST 2006 Luiz Capitulino <lcapitulino@mandriva.com.br> [PKTGEN]: Removes thread_{un,}lock() macros.
As suggested by Arnaldo, this patch replaces the thread_lock()/thread_unlock() by directly calls to mutex_lock()/mutex_unlock().
This change makes the code a bit more readable, and the direct calls are used everywhere in the kernel.
Signed-off-by: Luiz Capitulino <lcapitulino@mandriva.com.br> Signed-off-by: David S. Miller <davem@davemloft.net>
|