git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
135530d
)
PCI: Add pci_dev_show_local_cpu() to simplify code
author
Yijing Wang
<wangyijing@huawei.com>
Mon, 30 Sep 2013 07:02:38 +0000
(15:02 +0800)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Mon, 7 Oct 2013 21:12:46 +0000
(15:12 -0600)
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>
drivers/pci/pci-sysfs.c
patch
|
blob
|
history
diff --cc
drivers/pci/pci-sysfs.c
Simple merge