From: Tejun Heo Date: Tue, 20 Jul 2010 09:07:48 +0000 (+0200) Subject: workqueue: fix build problem on !CONFIG_SMP X-Git-Tag: v2.6.36-rc1~506^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=931ac77ef65d2d90ee1def63d2041402ec7c53ab;p=pandora-kernel.git workqueue: fix build problem on !CONFIG_SMP Commit f3421797 (workqueue: implement unbound workqueue) incorrectly tested CONFIG_SMP as part of a C expression in alloc/free_cwqs(). As CONFIG_SMP is not defined in UP, this breaks build. Fix it by using Found during linux-next build test. Signed-off-by: Tejun Heo Reported-by: Stephen Rothwell --- Reading git-diff-tree failed