Re: OF properties access ?
From: Sven Luther <hidden>
Date: 2004-01-18 22:22:31
From: Sven Luther <hidden>
Date: 2004-01-18 22:22:31
On Mon, Jan 19, 2004 at 08:05:18PM +1100, Benjamin Herrenschmidt wrote:
quoted
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/