summaryrefslogtreecommitdiff
path: root/arch/tile/include/asm
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2011-11-29 18:40:42 (GMT)
committerMichael S. Tsirkin <mst@redhat.com>2011-12-04 14:00:07 (GMT)
commit8593dd375ad10045e69b7b43fc1d885929aebbd5 (patch)
tree25ccfe27ef7eb4532b0e58e8c1c036b75c5ffd25 /arch/tile/include/asm
parenta21a2fd4036f9a572415a7543896a1163c211ee5 (diff)
downloadlinux-fsl-qoriq-8593dd375ad10045e69b7b43fc1d885929aebbd5.tar.xz
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/include/asm')
-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 c9ea165..d2152de 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)