Revert "removal of cpuinit/cpuexit"

This reverts commit 3374f355daf8f1f3350e423c2f2460646a1fa99d.