Revert "workqueue: simplify CPU hotplug code"

This reverts commit e3a676e2ecdf91b4e661b3a33090e006e9bcaa0f.