From: Niklas Schnelle Date: Wed, 3 Apr 2024 12:43:00 +0000 (+0200) Subject: um: Select HAS_IOREMAP for UML_IOMEM_EMULATION X-Git-Tag: v6.11-rc1~48^2~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ddd268c42871b78c75e12a5c28207fb481138f41;p=thirdparty%2Flinux.git um: Select HAS_IOREMAP for UML_IOMEM_EMULATION In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at compile time. UML supports these via its UML_IOMEM_EMULATION so let that select HAS_IOPORT and also reflect this in NO_IOPORT_MAP. Co-developed-by: Arnd Bergmann Signed-off-by: Arnd Bergmann Signed-off-by: Niklas Schnelle Link: https://patch.msgid.link/20240403124300.65379-2-schnelle@linux.ibm.com Signed-off-by: Johannes Berg --- diff --git a/arch/um/Kconfig b/arch/um/Kconfig index 93a5a8999b07e..7580167311568 100644 --- a/arch/um/Kconfig +++ b/arch/um/Kconfig @@ -48,12 +48,13 @@ config NO_IOMEM config UML_IOMEM_EMULATION bool select INDIRECT_IOMEM + select HAS_IOPORT select GENERIC_PCI_IOMAP select GENERIC_IOMAP select NO_GENERIC_PCI_IOPORT_MAP config NO_IOPORT_MAP - def_bool y + def_bool !UML_IOMEM_EMULATION config ISA bool