Re: OF properties access ?
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2004-01-19 21:36:02
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2004-01-19 21:36:02
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/