static int __init smp_chrp_probe(void) { if (smp_chrp_cpu_nr > 1) openpic_request_IPIs(); return smp_chrp_cpu_nr; }
static int smp_chrp_probe(void) { if (systemcfg->processorCount > 1) openpic_request_IPIs(); return systemcfg->processorCount; }
static int smp_chrp_probe(void) { if (naca->processorCount > 1) openpic_request_IPIs(); return naca->processorCount; }
/* PowerPlus (MTX) support */ static int __init smp_pplus_probe(void) { extern int mot_multi; if (mot_multi) { openpic_request_IPIs(); smp_hw_index[1] = 1; return 2; } return 1; }
static int __init smp_core99_probe(void) { struct device_node *cpus; int ncpus = 1; /* Maybe use systemconfiguration here ? */ if (ppc_md.progress) ppc_md.progress("smp_core99_probe", 0x345); cpus = find_type_devices("cpu"); if (cpus == NULL) return 0; while ((cpus = cpus->next) != NULL) ++ncpus; printk(KERN_INFO "PowerMac SMP probe found %d cpus\n", ncpus); if (ncpus > 1) openpic_request_IPIs(); return ncpus; }