1
0
Fork 0
alistair23-linux/drivers/of
David Miller d1cb9d1af0 of: Make cpu node handling more portable.
Use for_each_node_by_type() to iterate all cpu nodes in the
system.

Provide and overridable function arch_find_n_match_cpu_physical_id,
which sees if the given device node matches 'cpu' and if so sets
'*thread' when non-NULL to the cpu thread number within the core.

The default implementation behaves the same as the existing code.

Add a sparc64 implementation.

Signed-off-by: David S. Miller <davem@davemloft.net>
Tested-by: Sudeep KarkadaNagesha <Sudeep.KarkadaNagesha@arm.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
2013-10-15 20:09:10 +01:00
..
Kconfig Merge branch 'for-v3.12' of git://git.linaro.org/people/mszyprowski/linux-dma-mapping 2013-09-09 10:26:33 -07:00
Makefile Merge branch 'for-v3.12' of git://git.linaro.org/people/mszyprowski/linux-dma-mapping 2013-09-09 10:26:33 -07:00
address.c Device tree updates for v3.11 2013-07-04 15:51:45 -07:00
base.c of: Make cpu node handling more portable. 2013-10-15 20:09:10 +01:00
device.c of: Output devicetree alias names in uevent 2013-02-06 11:06:35 +00:00
fdt.c Device tree core updates for v3.12 2013-09-10 13:53:52 -07:00
irq.c irq/of: Fix comment typo for irq_of_parse_and_map 2013-09-09 17:03:19 +01: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 of: Make of_get_phy_mode() return int i.s.o. const int 2013-08-28 20:50:19 +01:00
of_pci.c of: pci: add registry of MSI chips 2013-08-12 15:27:01 +00:00
of_pci_irq.c OF: PCI: const usage needed by MIPS 2012-05-21 14:31:48 +01:00
of_private.h of: Output devicetree alias names in uevent 2013-02-06 11:06:35 +00:00
of_reserved_mem.c drivers: of: fix build break if asm/dma-contiguous.h is missing 2013-09-10 15:43:40 +02:00
pdt.c open firmware: "/aliasas" -> "/aliases" 2013-06-18 13:46:26 +02:00
platform.c Device tree core updates for v3.12 2013-09-10 13:53:52 -07:00
selftest.c of: Create function for counting number of phandles in a property 2013-02-13 10:09:31 +00:00