Revert "Revert "cpu-hotplug: Add the function 'cpu_hotplug_inprogress'""

This reverts commit fc7ce682f85294dee3de06aa86a6e2078b67bb70.