[S390] smp: remove pointless comments in startup_secondary()
Remove pointless comments in startup_secondary(). There is not too much value in having comments like e.g. "call cpu notifiers" just before a call to notify_cpu*(). Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
This commit is contained in:
Родитель
af6df871ba
Коммит
b7f275042f
|
@ -452,19 +452,13 @@ out:
|
||||||
*/
|
*/
|
||||||
int __cpuinit start_secondary(void *cpuvoid)
|
int __cpuinit start_secondary(void *cpuvoid)
|
||||||
{
|
{
|
||||||
/* Setup the cpu */
|
|
||||||
cpu_init();
|
cpu_init();
|
||||||
preempt_disable();
|
preempt_disable();
|
||||||
/* Enable TOD clock interrupts on the secondary cpu. */
|
|
||||||
init_cpu_timer();
|
init_cpu_timer();
|
||||||
/* Enable cpu timer interrupts on the secondary cpu. */
|
|
||||||
init_cpu_vtimer();
|
init_cpu_vtimer();
|
||||||
/* Enable pfault pseudo page faults on this cpu. */
|
|
||||||
pfault_init();
|
pfault_init();
|
||||||
|
|
||||||
/* call cpu notifiers */
|
|
||||||
notify_cpu_starting(smp_processor_id());
|
notify_cpu_starting(smp_processor_id());
|
||||||
/* Mark this cpu as online */
|
|
||||||
ipi_call_lock();
|
ipi_call_lock();
|
||||||
set_cpu_online(smp_processor_id(), true);
|
set_cpu_online(smp_processor_id(), true);
|
||||||
ipi_call_unlock();
|
ipi_call_unlock();
|
||||||
|
|
Загрузка…
Ссылка в новой задаче