Exemplo n.º 1
0
static int __init
smp_chrp_probe(void)
{
	if (smp_chrp_cpu_nr > 1)
		openpic_request_IPIs();

	return smp_chrp_cpu_nr;
}
Exemplo n.º 2
0
static int
smp_chrp_probe(void)
{
	if (systemcfg->processorCount > 1)
		openpic_request_IPIs();

	return systemcfg->processorCount;
}
Exemplo n.º 3
0
static int
smp_chrp_probe(void)
{
	if (naca->processorCount > 1)
		openpic_request_IPIs();

	return naca->processorCount;
}
Exemplo n.º 4
0
/* 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;
}
Exemplo n.º 5
0
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;
}