summaryrefslogtreecommitdiff
path: root/arch/tile
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2011-11-29 20:40:42 +0200
committerMichael S. Tsirkin <mst@redhat.com>2011-12-04 16:00:07 +0200
commit8593dd375ad10045e69b7b43fc1d885929aebbd5 (patch)
tree25ccfe27ef7eb4532b0e58e8c1c036b75c5ffd25 /arch/tile
parenta21a2fd4036f9a572415a7543896a1163c211ee5 (diff)
tile: don't panic on iomap
I think panic on iomap is there just for debugging. If we return NULL instead, the generic pci_iomap will DTRT so we don't need to roll our own. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'arch/tile')
-rw-r--r--arch/tile/include/asm/io.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/tile/include/asm/io.h b/arch/tile/include/asm/io.h
index c9ea1652af03..d2152deb1f3c 100644
--- a/arch/tile/include/asm/io.h
+++ b/arch/tile/include/asm/io.h
@@ -204,7 +204,8 @@ static inline long ioport_panic(void)
static inline void __iomem *ioport_map(unsigned long port, unsigned int len)
{
- return (void __iomem *) ioport_panic();
+ pr_info("ioport_map: mapping IO resources is unsupported on tile.\n");
+ return NULL;
}
static inline void ioport_unmap(void __iomem *addr)