]> git.baikalelectronics.ru Git - kernel.git/commit
[PKTGEN]: Removes thread_{un,}lock() macros.
authorLuiz Capitulino <lcapitulino@mandriva.com.br>
Tue, 21 Mar 2006 06:24:45 +0000 (22:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 06:24:45 +0000 (22:24 -0800)
commitf40e7fe4785f64bdc00451f1f6c681bbca566a88
tree0e8844508a6554fadc0dfddde70c594455288731
parentafd6df6d9abc3c79dd069d478ecc69c275f770a0
[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>
net/core/pktgen.c