projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7e61b8
)
backports: fix wq_name_list initialization
author
Luis R. Rodriguez
<mcgrof@do-not-panic.com>
Tue, 23 Jul 2013 23:47:41 +0000
(16:47 -0700)
committer
Luis R. Rodriguez
<mcgrof@do-not-panic.com>
Tue, 23 Jul 2013 23:47:41 +0000
(16:47 -0700)
As noted by Johannes this wasn't being initialized
without this.
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
backport/compat/compat-3.3.c
patch
|
blob
|
history
diff --git
a/backport/compat/compat-3.3.c
b/backport/compat/compat-3.3.c
index d86b40e2510a8454eb8c687b48ef26460797e94f..75bd5e530e1e41b0a9631e21e6e81da1bebdd88c 100644
(file)
--- a/
backport/compat/compat-3.3.c
+++ b/
backport/compat/compat-3.3.c
@@
-174,7
+174,7
@@
out:
EXPORT_SYMBOL_GPL(__pskb_copy);
static DEFINE_SPINLOCK(wq_name_lock);
-static
struct list_head wq_name_list
;
+static
LIST_HEAD(wq_name_list)
;
struct wq_name {
struct list_head list;
@@
-204,7
+204,7
@@
backport_alloc_workqueue(const char *fmt, unsigned int flags,
0,
#endif
key, lock_name);
-#else
+#else
wq = __alloc_workqueue_key(n->name, flags, max_active, key, lock_name);
#endif
if (!wq) {