linux/arch/powerpc/platforms
Grant Likely b1608d69cb drivercore: revert addition of of_match to struct device
Commit b826291c, "drivercore/dt: add a match table pointer to struct
device" added an of_match pointer to struct device to cache the
of_match_table entry discovered at driver match time.  This was unsafe
because matching is not an atomic operation with probing a driver.  If
two or more drivers are attempted to be matched to a driver at the
same time, then the cached matching entry pointer could get
overwritten.

This patch reverts the of_match cache pointer and reworks all users to
call of_match_device() directly instead.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2011-05-18 12:32:23 -06:00
..
8xx powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
40x of/flattree: Add of_flat_dt_match() helper function 2011-01-01 13:03:25 -07:00
44x powerpc/44x: PHY fixup for USB on canyonlands board 2011-02-02 06:58:26 -05:00
52xx Fix common misspellings 2011-03-31 11:26:23 -03:00
82xx powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
83xx drivercore: revert addition of of_match to struct device 2011-05-18 12:32:23 -06:00
85xx powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
86xx powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
512x powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
amigaone of/address: Clean up function declarations 2010-08-01 01:42:42 -06:00
cell Fix common misspellings 2011-03-31 11:26:23 -03:00
chrp powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
embedded6xx powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
iseries Fix common misspellings 2011-03-31 11:26:23 -03:00
maple powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
pasemi Fix common misspellings 2011-03-31 11:26:23 -03:00
powermac powerpc/powermac: Build fix with SMP and CPU hotplug 2011-04-18 15:46:35 +10:00
prep powerpc/kconfig: Kill PPC_MULTIPLATFORM 2009-03-11 17:11:35 +11:00
ps3 powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
pseries powerpc/pseries: Use a kmem cache for DTL buffers 2011-04-18 13:08:08 +10:00
Kconfig Documentation: fix minor typos/spelling 2011-04-04 17:51:47 -07:00
Kconfig.cputype powerpc/fsl-booke: Add support for FSL 64-bit e5500 core 2010-10-14 00:55:03 -05:00
Makefile powerpc/85xx: Kconfig cleanup 2009-11-20 16:45:27 -06:00
fsl_uli1575.c PCI: add pci_bus_for_each_resource(), remove direct bus->resource[] refs 2010-02-23 09:43:31 -08:00