git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
blk-mq: remove the calling of local_memory_node()
[sfrench/cifs-2.6.git]
/
block
/
blk-mq.c
diff --git
a/block/blk-mq.c
b/block/blk-mq.c
index deca157032c23f50b48ca30a44a263a6f43176a8..615da7de8855a99b50494cda70387e0d83e88e90 100644
(file)
--- a/
block/blk-mq.c
+++ b/
block/blk-mq.c
@@
-2744,7
+2744,7
@@
static void blk_mq_init_cpu_queues(struct request_queue *q,
for (j = 0; j < set->nr_maps; j++) {
hctx = blk_mq_map_queue_type(q, j, i);
if (nr_hw_queues > 1 && hctx->numa_node == NUMA_NO_NODE)
- hctx->numa_node =
local_memory_node(cpu_to_node(i)
);
+ hctx->numa_node =
cpu_to_node(i
);
}
}
}