PCI: vmd: depend on !UML
authorJohannes Berg <johannes.berg@intel.com>
Wed, 11 Aug 2021 14:25:30 +0000 (16:25 +0200)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 13 Oct 2021 14:12:17 +0000 (15:12 +0100)
commit42cf2a633d5dc2b5abc440d61b6c1c5fb7dddbbb
treec68243b57d8076ad8f0648356f47bfff6cb2898c
parent2565e5b69c44b4e42469afea3cc5a97e74d1ed45
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
drivers/pci/controller/Kconfig