Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



On Sat, Aug 04, 2007 at 08:47:18PM +0900, Izumi Tsutsui wrote:

> ad%NetBSD.org@localhost 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



Home | Main Index | Thread Index | Old Index