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:
1fb1def
)
padata: Fix cpu index counting
author
Steffen Klassert
<steffen.klassert@secunet.com>
Tue, 20 Jul 2010 06:48:34 +0000
(08:48 +0200)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Mon, 26 Jul 2010 06:13:57 +0000
(14:13 +0800)
The counting of the cpu index got lost with a recent commit.
This patch restores it. This fixes a hang of the parallel worker
threads on cpu hotplug.
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
kernel/padata.c
patch
|
blob
|
history
diff --git
a/kernel/padata.c
b/kernel/padata.c
index 526f9ea2fcc8ddc8aa2c57c370dfb3dd250754ef..4287868bbe37ac4bdb66db580f76dd03e42eb7bf 100644
(file)
--- a/
kernel/padata.c
+++ b/
kernel/padata.c
@@
-408,6
+408,7
@@
static void padata_init_pqueues(struct parallel_data *pd)
pqueue = per_cpu_ptr(pd->pqueue, cpu);
pqueue->pd = pd;
pqueue->cpu_index = cpu_index;
+ cpu_index++;
__padata_list_init(&pqueue->reorder);
__padata_list_init(&pqueue->parallel);