summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.h
diff options
context:
space:
mode:
authorMike Travis2008-09-06 14:46:42 +0200
committerJesse Barnes2008-10-20 19:53:51 +0200
commit93ff68a55aa92180a765d6c51c3303f6200167a6 (patch)
treede921ce10f9cab4ea7a40651a99651b6f1d2b8b9 /drivers/pci/pci.h
parentPCI: utilize calculated results when detecting MSI features (diff)
downloadkernel-qcow2-linux-93ff68a55aa92180a765d6c51c3303f6200167a6.tar.gz
kernel-qcow2-linux-93ff68a55aa92180a765d6c51c3303f6200167a6.tar.xz
kernel-qcow2-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 'drivers/pci/pci.h')
-rw-r--r--drivers/pci/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
index d807cd786f20..4723b12fb39a 100644
--- a/drivers/pci/pci.h
+++ b/drivers/pci/pci.h
@@ -109,6 +109,7 @@ static inline int pci_no_d1d2(struct pci_dev *dev)
extern int pcie_mch_quirk;
extern struct device_attribute pci_dev_attrs[];
extern struct device_attribute dev_attr_cpuaffinity;
+extern struct device_attribute dev_attr_cpulistaffinity;
/**
* pci_match_one_device - Tell if a PCI device structure has a matching