void __init prom_prepare_cpus(unsigned int max_cpus) { cnodeid_t cnode; for_each_online_node(cnode) intr_clear_all(COMPACT_TO_NASID_NODEID(cnode)); replicate_kernel_text(); /* * Assumption to be fixed: we're always booted on logical / physical * processor 0. While we're always running on logical processor 0 * this still means this is physical processor zero; it might for * example be disabled in the firwware. */ alloc_cpupda(0, 0); }
void __init prom_prepare_cpus(unsigned int max_cpus) { cnodeid_t cnode; for (cnode = 0; cnode < numnodes; cnode++) intr_clear_all(COMPACT_TO_NASID_NODEID(cnode)); /* Master has already done per_cpu_init() */ install_ipi(); replicate_kernel_text(numnodes); /* * Assumption to be fixed: we're always booted on logical / physical * processor 0. While we're always running on logical processor 0 * this still means this is physical processor zero; it might for * example be disabled in the firwware. */ alloc_cpupda(0, 0); }
static void __init ip27_smp_setup(void) { cnodeid_t cnode; for_each_online_node(cnode) { if (cnode == 0) continue; intr_clear_all(COMPACT_TO_NASID_NODEID(cnode)); } replicate_kernel_text(); /* * Assumption to be fixed: we're always booted on logical / physical * processor 0. While we're always running on logical processor 0 * this still means this is physical processor zero; it might for * example be disabled in the firmware. */ alloc_cpupda(0, 0); }