Re: [PATCH 2/2] mpc85xx_edac: change to use new definitions for PCI EDAC regspace

2010-07-24 Thread Dmitry Eremin-Solenikov
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

[PATCH] of: Provide default of_node_to_nid() when CONFIG_NUMA is not set

2010-07-24 Thread Grant Likely
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

Re: [PATCH][v2] fix of_flat_dt_is_compa tible to match the full compatible string

2010-07-24 Thread Grant Likely
"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

Re: [PATCH] fix of_flat_dt_is_compatible to match the full compatible string

2010-07-24 Thread Grant Likely
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

Re: [PATCH] of: Provide default of_node_to_nid() when CONFIG_NUMA is not set

2010-07-24 Thread Stephen Rothwell
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