Subject: Re: CVS commit: src
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Andrew Doran <ad@NetBSD.org>
List: source-changes
Date: 08/04/2007 12:58:20
On Sat, Aug 04, 2007 at 08:47:18PM +0900, Izumi Tsutsui wrote:
> ad@NetBSD.org wrote:
>
> > src/sys/kern: init_main.c kern_cpu.c kern_synch.c sched_4bsd.c
> :
> > Log Message:
> > Add cpuctl(8). For now this is not much more than a toy for debugging and
> > benchmarking that allows taking CPUs online/offline.
>
> kern_cpu.c now refers ci->ci_curlwp:
>
> + } while (ci->ci_curlwp != ci->ci_data.cpu_idlelwp);
>
> but some ports don't have the member in struct cpu_info.
> Should we prepare it as ci_cpuid on all ports?
I think so. For the time being I have ifdef'd it out so that it will
build.
Thanks,
Andrew