diff options
author | Christoph Hellwig <hch@lst.de> | 2017-08-17 13:24:47 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-08-18 17:08:14 +0300 |
commit | c005390374957baacbc38eef96ea360559510aa7 (patch) | |
tree | 6055f163f22d993bcf03ed965510a45a8d28745b /samples/livepatch | |
parent | 6caa0503c43d65de92309b967b5b1aa289af303b (diff) | |
download | linux-c005390374957baacbc38eef96ea360559510aa7.tar.xz |
blk-mq-pci: add a fallback when pci_irq_get_affinity returns NULL
While pci_irq_get_affinity should never fail for SMP kernel that
implement the affinity mapping, it will always return NULL in the
UP case, so provide a fallback mapping of all queues to CPU 0 in
that case.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: stable@vger.kernel.org
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'samples/livepatch')
0 files changed, 0 insertions, 0 deletions