]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
commit6146e6a43b3584c0c67b0ac94e3f14fdc618bd30
tree0e8844508a6554fadc0dfddde70c594455288731
parent222fa076652cc1faf56eb7d554c2797ace3c5beb
[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