projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a21a2fd
)
tile: don't panic on iomap
author
Michael S. Tsirkin
<mst@redhat.com>
Tue, 29 Nov 2011 18:40:42 +0000
(20:40 +0200)
committer
Michael S. Tsirkin
<mst@redhat.com>
Sun, 4 Dec 2011 14:00:07 +0000
(16:00 +0200)
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>
arch/tile/include/asm/io.h
patch
|
blob
|
history
diff --git
a/arch/tile/include/asm/io.h
b/arch/tile/include/asm/io.h
index c9ea1652af03c609f355ec12c456a45e0dd826f3..d2152deb1f3cf6a3bc352d92d445df4157a0924e 100644
(file)
--- 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)