]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/asm-generic/io.h
UBUNTU: SAUCE: PCI: Apply the new generic I/O management on PCI IO hosts
[mirror_ubuntu-bionic-kernel.git] / include / asm-generic / io.h
index b7996a79d64bee0a7d9b11be044a9a7999cbcc57..5a59931666545bca578b2119b07cdf6a03b53f05 100644 (file)
@@ -901,7 +901,7 @@ static inline void iounmap(void __iomem *addr)
 #define ioport_map ioport_map
 static inline void __iomem *ioport_map(unsigned long port, unsigned int nr)
 {
-       return PCI_IOBASE + (port & IO_SPACE_LIMIT);
+       return PCI_IOBASE + (port & MMIO_UPPER_LIMIT);
 }
 #endif