commit | 931ac77ef65d2d90ee1def63d2041402ec7c53ab | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Tue Jul 20 11:07:48 2010 +0200 |
committer | Tejun Heo <tj@kernel.org> | Tue Jul 20 11:15:14 2010 +0200 |
tree | 370153ff6e85c9e8e0d00f1811d214dbcba6b00a | |
parent | 9f9c23644b07e7a51f6f39064e61c150be712932 [diff] |
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 <tj@kernel.org> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>