summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--block/blk-mq-cpumap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/blk-mq-cpumap.c b/block/blk-mq-cpumap.c
index 48bebf00a5f3..0afa4dc48365 100644
--- a/block/blk-mq-cpumap.c
+++ b/block/blk-mq-cpumap.c
@@ -42,8 +42,8 @@ int blk_mq_map_queues(struct blk_mq_queue_map *qmap)
42 /* 42 /*
43 * First do sequential mapping between CPUs and queues. 43 * First do sequential mapping between CPUs and queues.
44 * In case we still have CPUs to map, and we have some number of 44 * In case we still have CPUs to map, and we have some number of
45 * threads per cores then map sibling threads to the same queue for 45 * threads per cores then map sibling threads to the same queue
46 * performace optimizations. 46 * for performance optimizations.
47 */ 47 */
48 if (cpu < nr_queues) { 48 if (cpu < nr_queues) {
49 map[cpu] = cpu_to_queue_index(qmap, nr_queues, cpu); 49 map[cpu] = cpu_to_queue_index(qmap, nr_queues, cpu);