auto_hotplug: Update to support X number of cores (Ktoonsez)

Signed-off-by: task650 <task650@gmail.com>