coreboot/src/devices
Kyösti Mälkki a5650a4b4a Use dev_lock for alloc_find_dev()
If threads called alloc_find_dev() with same device_path
simultaneously, two device nodes could be allocated.
This bug is not triggered by current code.

Change-Id: Ifc87021c8d6f422901c5de5dd17392e3e2309afa
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/1188
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-by: Sven Schnelle <svens@stackframe.org>
2012-07-10 19:52:24 +02:00
..
oprom PCI Type2 config must die 2012-07-05 23:01:42 +02:00
agp_device.c Various cosmetic and coding style fixes in src/devices. 2010-11-04 23:23:47 +00:00
cardbus_device.c Various cosmetic and coding style fixes in src/devices. 2010-11-04 23:23:47 +00:00
device.c Use dev_lock for alloc_find_dev() 2012-07-10 19:52:24 +02:00
device_util.c Use dev_lock for alloc_find_dev() 2012-07-10 19:52:24 +02:00
hypertransport.c Clean up #ifs 2012-05-08 00:34:34 +02:00
Kconfig Add support for enabling PCIe Common Clock and ASPM 2012-03-29 22:16:07 +02:00
Makefile.inc Don't unconditionally add support for cardbus and pci-x devices 2012-03-30 17:57:38 +02:00
pci_device.c Clean up #ifs 2012-05-08 00:34:34 +02:00
pci_ops.c Various cosmetic and coding style fixes in src/devices. 2010-11-04 23:23:47 +00:00
pci_rom.c Clean up #ifs 2012-05-08 00:34:34 +02:00
pciexp_device.c Add support for enabling PCIe Common Clock and ASPM 2012-03-29 22:16:07 +02:00
pcix_device.c Various cosmetic and coding style fixes in src/devices. 2010-11-04 23:23:47 +00:00
pnp_device.c printf: Remove some L modifier uses 2012-03-24 15:32:24 +01:00
root_device.c Cosmetics and coding style fixes in devices/*. 2010-10-18 00:00:57 +00:00
smbus_ops.c Various cosmetic and coding style fixes in src/devices. 2010-11-04 23:23:47 +00:00