Lines Matching refs:i
75 for (int i = 0; i < total_processor_num; ++i) // i从1开始,不初始化bsp in smp_init() local
80 kdebug("[core %d] acpi processor UID=%d, APIC ID=%d, can_boot=%d", i, in smp_init()
81 __cpu_info[i].core_id, __cpu_info[i].apic_id, in smp_init()
82 __cpu_info[i].can_boot); in smp_init()
83 if (__cpu_info[i].apic_id == 0) in smp_init()
88 if (__cpu_info[i].can_boot == false) in smp_init()
91 kdebug("processor %d cannot be enabled.", __cpu_info[i].core_id); in smp_init()
98 current_starting_cpu = __cpu_info[i].apic_id; in smp_init()
105 kdebug("core %d, to send start up", __cpu_info[i].apic_id); in smp_init()
108 int r = rs_ipi_send_smp_startup(__cpu_info[i].apic_id); in smp_init()
111 kerror("Failed to send startup ipi to cpu: %d", __cpu_info[i].apic_id); in smp_init()
114 rs_ipi_send_smp_startup(__cpu_info[i].apic_id); in smp_init()