OF properties access ?
Benjamin Herrenschmidt
benh at kernel.crashing.org
Tue Jan 20 08:36:02 EST 2004
> 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/
More information about the Linuxppc-dev
mailing list