]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitb31822277abcd7c83d1c1c0af876da9ccdf3b7d6
treea19469ef1e3b01f6fc209d9a921b930820d56bd9
parent53db86adc2c9b3ce0454bece4487e8eca96e2614
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