PCI: add an API to get node from vector
authorShaohua Li <shli@fb.com>
Wed, 1 Feb 2017 17:53:15 +0000 (09:53 -0800)
committerJens Axboe <axboe@fb.com>
Thu, 2 Mar 2017 15:56:04 +0000 (08:56 -0700)
commit27ddb689909cd0bab30524a5f720ae3a3e55acac
tree97e6276308d60b3e5087f8de902ba77970dba48c
parent59f082e464ae0533813d5a1c3149b22563da93d7
PCI: add an API to get node from vector

Next patch will use the API to get the node from vector for nvme device

Signed-off-by: Shaohua Li <shli@fb.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/pci/msi.c
include/linux/pci.h