diff options
| author | Thomas Gleixner <[email protected]> | 2020-11-16 12:52:47 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2020-11-16 12:57:46 +0000 |
| commit | 8986f223bd777a73119f5d593c15b4d630ff49bb (patch) | |
| tree | f8cd1a2c30d6c56a848eb99be5ca615fdf48a7a8 /scripts/gcc-plugins/gcc-common.h | |
| parent | Linux 5.10-rc4 (diff) | |
| download | kernel-8986f223bd777a73119f5d593c15b4d630ff49bb.tar.gz kernel-8986f223bd777a73119f5d593c15b4d630ff49bb.zip | |
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: Geert Uytterhoeven <[email protected]>
Fixes: ff828729be44 ("iommu/vt-d: Cure VF irqdomain hickup")
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Joerg Roedel <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions
