diff options
author | Yinghai Lu <yinghai@kernel.org> | 2011-05-12 20:11:40 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2011-05-21 15:17:13 -0400 |
commit | dc2c2c9dd513dec6c17df04e8abff795e20a5271 (patch) | |
tree | 096e73fc6775edbe389c687df08f96bd85788d02 /drivers/pci/pci.h | |
parent | b9d320fcb6259baffaeaf93a5fce252cd09333d6 (diff) |
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>
Diffstat (limited to 'drivers/pci/pci.h')
-rw-r--r-- | drivers/pci/pci.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index dcf640ad8df6..4ee9e8a2607f 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h | |||
@@ -157,8 +157,6 @@ static inline int pci_no_d1d2(struct pci_dev *dev) | |||
157 | } | 157 | } |
158 | extern struct device_attribute pci_dev_attrs[]; | 158 | extern struct device_attribute pci_dev_attrs[]; |
159 | extern struct device_attribute pcibus_dev_attrs[]; | 159 | extern struct device_attribute pcibus_dev_attrs[]; |
160 | extern struct device_attribute dev_attr_cpuaffinity; | ||
161 | extern struct device_attribute dev_attr_cpulistaffinity; | ||
162 | #ifdef CONFIG_HOTPLUG | 160 | #ifdef CONFIG_HOTPLUG |
163 | extern struct bus_attribute pci_bus_attrs[]; | 161 | extern struct bus_attribute pci_bus_attrs[]; |
164 | #else | 162 | #else |