]> git.karo-electronics.de Git - linux-beck.git/commit
PCI/sysfs: move bus cpuaffinity to class dev_attrs
authorYinghai Lu <yinghai@kernel.org>
Fri, 13 May 2011 00:11:40 +0000 (17:11 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Sat, 21 May 2011 19:17:13 +0000 (12:17 -0700)
commitdc2c2c9dd513dec6c17df04e8abff795e20a5271
tree096e73fc6775edbe389c687df08f96bd85788d02
parentb9d320fcb6259baffaeaf93a5fce252cd09333d6
PCI/sysfs: move bus cpuaffinity to class dev_attrs

Requested by Greg KH to fix a race condition in the creating of PCI bus
cpuaffinity files.

Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/bus.c
drivers/pci/pci-sysfs.c
drivers/pci/pci.h
drivers/pci/probe.c
drivers/pci/remove.c