Date: Tue, 25 Apr 2006 22:18:19 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 96111 for review Message-ID: <200604252218.k3PMIJGo015983@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=96111 Change 96111 by jb@jb_freebsd2 on 2006/04/25 22:17:46 Hack for one CPU at the moment. We want Spot to run on his own before he's brave enough to run in a pack of dogs. Affected files ... .. //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_aggregate.c#5 edit Differences ... ==== //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_aggregate.c#5 (text) ==== @@ -979,6 +979,9 @@ #ifdef DOODAD agp->dtat_maxcpu = dt_sysconf(dtp, _SC_CPUID_MAX) + 1; agp->dtat_ncpu = dt_sysconf(dtp, _SC_NPROCESSORS_MAX); +#else + agp->dtat_maxcpu = 1; + agp->dtat_ncpu = 1; #endif agp->dtat_cpus = malloc(agp->dtat_ncpu * sizeof (processorid_t));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604252218.k3PMIJGo015983>