unsigned int cpu;
- if (cpu_data[master_cpu].active_thread) cpu = cpu_number(); /* If we're started up, use the current CPU */
- else cpu = master_cpu; /* Otherwise use the master_cpu */
+ cpu = cpu_number();
hw_atomic_add(&debugger_holdoff[cpu], 1); /* Don't allow debugger entry just now (this is a HACK) */
return; /* If printing is disabled, bail... */
}
- if (cpu_data[master_cpu].active_thread) cpu = cpu_number(); /* If we're started up, use the current CPU */
- else cpu = master_cpu; /* Otherwise use the master_cpu */
+ cpu = cpu_number();
hw_atomic_add(&debugger_holdoff[cpu], 1); /* Don't allow debugger entry just now (this is a HACK) */