From: Yijing Wang Date: Mon, 30 Sep 2013 07:02:38 +0000 (+0800) Subject: PCI: Add pci_dev_show_local_cpu() to simplify code X-Git-Tag: v3.13-rc1~95^2~3^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c489f5fbb1f5a770f98e492af5c47befb32890cd;p=pandora-kernel.git 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 Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed