Yijing Wang c489f5fbb1 PCI: Add pci_dev_show_local_cpu() to simplify code
local_cpus_show() and local_cpulist_show() are almost the same.
This adds a new helper function, pci_dev_show_local_cpu(), to simplify
code.

The same strategy is already used by cpuaffinity_show() and
cpulistaffinity_show().

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2013-10-07 15:12:46 -06:00
..
2013-09-06 13:30:06 -07:00
2013-08-28 20:51:39 -06:00
2013-09-13 15:09:52 +02:00
2013-10-07 15:12:45 -06:00
2013-06-29 12:57:48 +04:00
2013-09-25 15:45:06 -06:00
2013-04-15 10:56:27 -06:00