diff options
author | Mike Travis <travis@sgi.com> | 2008-09-06 14:46:42 +0200 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-10-20 19:53:51 +0200 |
commit | 93ff68a55aa92180a765d6c51c3303f6200167a6 (patch) | |
tree | de921ce10f9cab4ea7a40651a99651b6f1d2b8b9 /drivers/pci/remove.c | |
parent | PCI: utilize calculated results when detecting MSI features (diff) | |
download | linux-93ff68a55aa92180a765d6c51c3303f6200167a6.tar.xz linux-93ff68a55aa92180a765d6c51c3303f6200167a6.zip |
PCI: make CPU list affinity visible
Stephen Hemminger wrote:
> Looks like Mike created cpulistaffinty in sysfs but never completed
> the job.
This patch hooks things up correctly, taking care to remove the new file
when the bus is destroyed.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to '')
-rw-r--r-- | drivers/pci/remove.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/remove.c b/drivers/pci/remove.c index bdc2a44d68e1..f94f6d5ae297 100644 --- a/drivers/pci/remove.c +++ b/drivers/pci/remove.c @@ -73,6 +73,7 @@ void pci_remove_bus(struct pci_bus *pci_bus) up_write(&pci_bus_sem); pci_remove_legacy_files(pci_bus); device_remove_file(&pci_bus->dev, &dev_attr_cpuaffinity); + device_remove_file(&pci_bus->dev, &dev_attr_cpulistaffinity); device_unregister(&pci_bus->dev); } EXPORT_SYMBOL(pci_remove_bus); |