linux/drivers/of
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
..
address.c Device tree updates for v3.11 2013-07-04 15:51:45 -07:00
base.c of: move of_get_cpu_node implementation to DT core library 2013-08-21 10:24:44 +01:00
device.c of: Output devicetree alias names in uevent 2013-02-06 11:06:35 +00:00
fdt.c open firmware: "/aliasas" -> "/aliases" 2013-06-18 13:46:26 +02:00
irq.c of/irq: init struct resource to 0 in of_irq_to_resource() 2013-07-22 19:40:38 +01:00
Kconfig of: remove CONFIG_OF_DEVICE 2013-06-12 12:37:40 +01:00
Makefile of: remove CONFIG_OF_DEVICE 2013-06-12 12:37:40 +01:00
of_i2c.c of_i2c: Honour "status=disabled" property of device 2012-11-29 17:28:08 +00:00
of_mdio.c net: of_mdio: fix behavior on missing phy device 2013-05-08 13:13:29 -07:00
of_mtd.c of: mtd: nuke useless const qualifier 2012-07-10 10:32:06 -05:00
of_net.c phy: add reverse MII PHY connection type 2013-05-31 17:19:05 -07:00
of_pci_irq.c OF: PCI: const usage needed by MIPS 2012-05-21 14:31:48 +01:00
of_pci.c of/pci: Add of_pci_parse_bus_range() function 2013-05-19 20:30:10 +00:00
of_private.h of: Output devicetree alias names in uevent 2013-02-06 11:06:35 +00:00
pdt.c open firmware: "/aliasas" -> "/aliases" 2013-06-18 13:46:26 +02:00
platform.c Revert "of: use platform_device_add" 2013-02-17 20:03:27 +00:00
selftest.c of: Create function for counting number of phandles in a property 2013-02-13 10:09:31 +00:00