From: Joonsoo Kim Date: Wed, 15 Aug 2012 14:25:36 +0000 (+0900) Subject: workqueue: use enum value to set array size of pools in gcwq X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~52^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=330dad5b9c9555632578c00e94e85c122561c5c7;p=pandora-kernel.git 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 Signed-off-by: Tejun Heo --- Reading git-diff-tree failed