Added code for SMP boot.