]> git.baikalelectronics.ru Git - kernel.git/commit
x86/PCI: VMD: Eliminate index member from IRQ list
authorJon Derrick <jonathan.derrick@intel.com>
Fri, 2 Sep 2016 17:53:05 +0000 (11:53 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 19 Sep 2016 18:14:05 +0000 (13:14 -0500)
commit2d0cd4bc022cb1249d13c56e4c557e69daff7e8f
treea19469ef1e3b01f6fc209d9a921b930820d56bd9
parent755a360f2f7c777ac5973e7985b6ea89c4fc1d24
x86/PCI: VMD: Eliminate index member from IRQ list

Use math to discover the IRQ list index number relative to the IRQ list
head.

Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Keith Busch <keith.busch@intel.com>
arch/x86/pci/vmd.c