Commit 99e97b71 authored by Frank Blaschka's avatar Frank Blaschka Committed by Martin Schwidefsky

s390/io: add ioport_map stubs

add ioport_map stubs to make vfio build on s390.
Signed-off-by: default avatarFrank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent a6b42afa
...@@ -38,6 +38,15 @@ static inline void iounmap(volatile void __iomem *addr) ...@@ -38,6 +38,15 @@ static inline void iounmap(volatile void __iomem *addr)
{ {
} }
static inline void __iomem *ioport_map(unsigned long port, unsigned int nr)
{
return NULL;
}
static inline void ioport_unmap(void __iomem *p)
{
}
/* /*
* s390 needs a private implementation of pci_iomap since ioremap with its * s390 needs a private implementation of pci_iomap since ioremap with its
* offset parameter isn't sufficient. That's because BAR spaces are not * offset parameter isn't sufficient. That's because BAR spaces are not
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment