[Cbe-oss-dev] [PATCH] cell: Safer of_has_vicinity routine

Arnd Bergmann arnd at arndb.de
Tue Jul 31 06:11:12 EST 2007


On Monday 30 July 2007, Andre Detsch wrote:
> 
> Subject: cell: Safer of_has_vicinity routine
> 
> From: Andre Detsch <adetsch at br.ibm.com>
> 
> This patch changes the way we check for the existence of
> vicinity property in spe device nodes.
> 
> The new implementation does not depend on having an initialized
> cbe_spu_info[0].spus, and checks for presence of vicinity in all
> nodes, not only in the first one.
> 
> Basically a copy & paste from Arnd's suggestion sent to cbe-oss-dev.
> 
> Signed-off-by: Andre Detsch <adetsch at br.ibm.com>

Acked-by: Arnd Bergmann <arnd.bergmann at de.ibm.com>



More information about the cbe-oss-dev mailing list