projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cpumask: update local_cpus_show to use new cpumask API
[cascardo/linux.git]
/
drivers
/
pci
/
pci-sysfs.c
diff --git
a/drivers/pci/pci-sysfs.c
b/drivers/pci/pci-sysfs.c
index
5d72866
..
e4957e2
100644
(file)
--- a/
drivers/pci/pci-sysfs.c
+++ b/
drivers/pci/pci-sysfs.c
@@
-70,10
+70,10
@@
static ssize_t broken_parity_status_store(struct device *dev,
static ssize_t local_cpus_show(struct device *dev,
struct device_attribute *attr, char *buf)
{
static ssize_t local_cpus_show(struct device *dev,
struct device_attribute *attr, char *buf)
{
- c
pumask_t
mask;
+ c
onst struct cpumask *
mask;
int len;
int len;
- mask =
pcibus_to_cpumask
(to_pci_dev(dev)->bus);
+ mask =
cpumask_of_pcibus
(to_pci_dev(dev)->bus);
len = cpumask_scnprintf(buf, PAGE_SIZE-2, mask);
buf[len++] = '\n';
buf[len] = '\0';
len = cpumask_scnprintf(buf, PAGE_SIZE-2, mask);
buf[len++] = '\n';
buf[len] = '\0';
@@
-84,10
+84,10
@@
static ssize_t local_cpus_show(struct device *dev,
static ssize_t local_cpulist_show(struct device *dev,
struct device_attribute *attr, char *buf)
{
static ssize_t local_cpulist_show(struct device *dev,
struct device_attribute *attr, char *buf)
{
- c
pumask_t
mask;
+ c
onst struct cpumask *
mask;
int len;
int len;
- mask =
pcibus_to_cpumask
(to_pci_dev(dev)->bus);
+ mask =
cpumask_of_pcibus
(to_pci_dev(dev)->bus);
len = cpulist_scnprintf(buf, PAGE_SIZE-2, mask);
buf[len++] = '\n';
buf[len] = '\0';
len = cpulist_scnprintf(buf, PAGE_SIZE-2, mask);
buf[len++] = '\n';
buf[len] = '\0';