1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-04 12:52:15 +00:00

Add powerpc to temporary fix. The new cpu device claims all

'generic' OpenFirmware nexus nodes, since it uses bus_generic_probe.
Maybe the cpu device probe should be MD.
This commit is contained in:
Peter Grehan 2004-03-16 13:34:50 +00:00
parent 34d72a66ad
commit 721b6196d5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127074

View File

@ -83,7 +83,7 @@ int smp_cpus = 1; /* how many cpu's running */
SYSCTL_INT(_kern_smp, OID_AUTO, cpus, CTLFLAG_RD, &smp_cpus, 0,
"Number of CPUs online");
#ifndef __sparc64__
#if !__sparc64__ && !__powerpc__
static void cpu_identify(driver_t *driver, device_t parent);
static device_t cpu_add_child(device_t bus, int order, const char *name,
int unit);
@ -417,7 +417,7 @@ smp_rendezvous(void (* setup_func)(void *),
}
#endif /* SMP */
#ifndef __sparc64__
#if !__sparc64__ && !__powerpc__
static void
cpu_identify(driver_t *driver, device_t parent)
{