On 7/24/10, Grant Likely wrote:
> On Fri, Jul 23, 2010 at 6:20 PM, Dmitry Eremin-Solenikov
> wrote:
>> Hello,
>>
>> On 7/22/10, Grant Likely wrote:
>>> On Thu, Jul 22, 2010 at 10:48 AM, Dmitry Eremin-Solenikov
>>> wrote:
Hello,
On Thu, Jul 22, 2010 at 7:38 PM, Kumar Gala
wr
of_node_to_nid() is only relevant for NUMA. Don't force architectures to
implement it if CONFIG_NUMA is not set.
Signed-off-by: Grant Likely
---
arch/microblaze/include/asm/topology.h | 10 --
arch/powerpc/include/asm/topology.h|7 ---
arch/sparc/include/asm/prom.h
"Stuart Yoder" wrote:
>From: Stuart Yoder
>
>With the previous string comparison, a device tree
>compatible of "foo-bar" would match as compatible
>with a driver looking for "foo".
>
>Signed-off-by: Stuart Yoder
Hi Stewart.
Patch looks good. I'll test it this afternoon.
However, please r
On Thu, Jul 22, 2010 at 8:45 PM, Benjamin Herrenschmidt
wrote:
> On Thu, 2010-07-22 at 18:28 -0500, Stuart Yoder wrote:
>> From: Stuart Yoder
>>
>> With the previous string comparison, a device tree
>> compatible of "foo-bar" would match as compatible
>> with a driver looking for "foo".
>>
>> Sig
Hi Grant,
On Sat, 24 Jul 2010 09:43:31 -0600 Grant Likely
wrote:
>
> of_node_to_nid() is only relevant for NUMA. Don't force architectures to
> implement it if CONFIG_NUMA is not set.
Why not just do:
#ifndef of_node_to_nid
static inline int of_node_to_nid(struct device_node *device) { return