Files
linux/arch/powerpc/kernel
Sudeep KarkadaNagesha 183912d352 of: move of_get_cpu_node implementation to DT core library
This patch moves the generalized implementation of of_get_cpu_node from
PowerPC to DT core library, thereby adding support for retrieving cpu
node for a given logical cpu index on any architecture.

The CPU subsystem can now use this function to assign of_node in the
cpu device while registering CPUs.

It is recommended to use these helper function only in pre-SMP/early
initialisation stages to retrieve CPU device node pointers in logical
ordering. Once the cpu devices are registered, it can be retrieved easily
from cpu device of_node which avoids unnecessary parsing and matching.

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Grant Likely <grant.likely@linaro.org>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
2013-08-21 10:24:44 +01:00
..
2013-04-23 16:05:05 +10:00
2013-04-23 16:05:05 +10:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2013-04-26 16:08:17 +10:00
2011-11-28 21:13:18 +02:00
2011-03-31 11:26:23 -03:00
2013-05-14 16:00:17 +10:00
2013-05-14 16:00:17 +10:00
2013-05-14 16:00:17 +10:00
2011-03-31 11:26:23 -03:00
2013-04-18 13:03:53 +10:00
2010-07-19 10:56:54 +02:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:02 +01:00