#ifdef CONFIG_SMP
/* Wait for the secondaries to halt. */
- clear_bit(boot_cpuid, &cpu_present_mask);
- while (cpu_present_mask)
+ cpu_clear(boot_cpuid, cpu_possible_map);
+ while (cpus_weight(cpu_possible_map))
barrier();
#endif
void
show_regs(struct pt_regs *regs)
{
- dik_show_regs(regs, 0);
+ dik_show_regs(regs, NULL);
}
/*