OF properties access ?

Sven Luther sven.luther at wanadoo.fr
Mon Jan 19 09:22:31 EST 2004


On Mon, Jan 19, 2004 at 08:05:18PM +1100, Benjamin Herrenschmidt wrote:
>
> > Further tests show me that it is the if (l2cr == NULL) return; tests
> > which aborts the test.
> >
> > Any idea what is going on here. Clearly we did read the right cpus, but
> > it is not possible to read the "l2cr" property.
>
> I think you read the "cpus" parent node and not the child node of
> the CPU itself. You can always printk np->full_name to be sure.

Ok, will try. Thanks.

Friendly,

Sven Luther

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





More information about the Linuxppc-dev mailing list