Subject: Re: OF properties access ?

From: Benjamin Herrenschmidt <[email-masked]>
Date: Tue, 20 Jan 2004 08:36:02 +1100

> Doing only : np = find_type_devices("cpu"); worked fine. I guess this
> will catch any cpus in the system, and be ok. There are not yet
> multi-cpu pegasos boxes, so i think it is ok to just check the first CPU
> and enable the L2 cache there, i will make sure the OF of future
> multi-cpu systems will set the L2 cache properly.
>
> Or is it better to go for the first child of cpus ?

What you do should be fine.

Ben.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/