Skip to content
Commit 8986f223 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

iommu/vt-d: Take CONFIG_PCI_ATS into account



pci_dev::physfn is only available when CONFIG_PCI_ATS is set. The recent
fix for the irqdomain rework missed that dependency which makes the build
fail when CONFIG_PCI_ATS=n.

Add the necessary #ifdeffery.

Reported-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Fixes: ff828729 ("iommu/vt-d: Cure VF irqdomain hickup")
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: Joerg Roedel <joro@8bytes.org>
parent 09162bc3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment