Skip to content

Commit 42cf2a6

Browse files
jmberg-intelLorenzo Pieralisi
authored andcommitted
PCI: vmd: depend on !UML
With UML having enabled (simulated) PCI on UML, VMD breaks allyesconfig/allmodconfig compilation because it assumes it's running on X86_64 bare metal, and has hardcoded API use of ARCH=x86. Make it depend on !UML to fix this. Link: https://lore.kernel.org/r/20210811162530.affe26231bc3.I131b3c1e67e3d2ead6e98addd256c835fbef9a3e@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Jon Derrick <jonathan.derrick@intel.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
1 parent 2565e5b commit 42cf2a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/pci/controller/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ config PCIE_MEDIATEK_GEN3
254254
MediaTek SoCs.
255255

256256
config VMD
257-
depends on PCI_MSI && X86_64 && SRCU
257+
depends on PCI_MSI && X86_64 && SRCU && !UML
258258
tristate "Intel Volume Management Device Driver"
259259
help
260260
Adds support for the Intel Volume Management Device (VMD). VMD is a

0 commit comments

Comments
 (0)