smp: Add generic smpboot facility