diff options
author | 2012-08-15 23:25:36 +0900 | |
---|---|---|
committer | 2012-08-16 14:21:15 -0700 | |
commit | 330dad5b9c9555632578c00e94e85c122561c5c7 (patch) | |
tree | bc26f30c0d67f3a80cf5a7c97caaec64f88d9c6a /net/tipc | |
parent | workqueue: add missing wmb() in clear_work_data() (diff) | |
download | linux-dev-330dad5b9c9555632578c00e94e85c122561c5c7.tar.xz linux-dev-330dad5b9c9555632578c00e94e85c122561c5c7.zip |
workqueue: use enum value to set array size of pools in gcwq
Commit 3270476a6c0ce322354df8679652f060d66526dc ('workqueue: reimplement
WQ_HIGHPRI using a separate worker_pool') introduce separate worker_pool
for HIGHPRI. Although there is NR_WORKER_POOLS enum value which represent
size of pools, definition of worker_pool in gcwq doesn't use it.
Using it makes code robust and prevent future mistakes.
So change code to use this enum value.
Signed-off-by: Joonsoo Kim <js1304@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions