git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge master.kernel.org:/home/rmk/linux-2.6-arm
[pandora-kernel.git]
/
net
/
core
/
pktgen.c
diff --git
a/net/core/pktgen.c
b/net/core/pktgen.c
index
8eb083b
..
b3ad49f
100644
(file)
--- a/
net/core/pktgen.c
+++ b/
net/core/pktgen.c
@@
-503,7
+503,7
@@
static int pg_delay_d = 0;
static int pg_clone_skb_d = 0;
static int debug = 0;
-static
spinlock_t _thread_lock = SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(_thread_lock)
;
static struct pktgen_thread *pktgen_threads = NULL;
static char module_fname[128];