projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5173cc0
)
net: convert to new cpumask API
author
KOSAKI Motohiro
<kosaki.motohiro@jp.fujitsu.com>
Mon, 16 May 2011 18:53:49 +0000
(11:53 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 16 May 2011 18:53:49 +0000
(11:53 -0700)
We plan to remove cpu_xx() old api later. Thus this patch
convert it.
This patch has no functional change.
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net-sysfs.c
patch
|
blob
|
history
diff --git
a/net/core/net-sysfs.c
b/net/core/net-sysfs.c
index
381813e
..
1b12217
100644
(file)
--- a/
net/core/net-sysfs.c
+++ b/
net/core/net-sysfs.c
@@
-964,7
+964,7
@@
static ssize_t store_xps_map(struct netdev_queue *queue,
} else
pos = map_len = alloc_len = 0;
- need_set = cpu
_isset(cpu, *
mask) && cpu_online(cpu);
+ need_set = cpu
mask_test_cpu(cpu,
mask) && cpu_online(cpu);
#ifdef CONFIG_NUMA
if (need_set) {
if (numa_node == -2)