Commit ca43ecbf authored by Paul Mundt's avatar Paul Mundt

sh: Kill dead/unused ISA code from __ioremap().

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent f5df54dc
...@@ -44,12 +44,6 @@ void __iomem *__ioremap(unsigned long phys_addr, unsigned long size, ...@@ -44,12 +44,6 @@ void __iomem *__ioremap(unsigned long phys_addr, unsigned long size,
if (!size || last_addr < phys_addr) if (!size || last_addr < phys_addr)
return NULL; return NULL;
/*
* Don't remap the low PCI/ISA area, it's always mapped..
*/
if (phys_addr >= 0xA0000 && last_addr < 0x100000)
return (void __iomem *)phys_to_virt(phys_addr);
/* /*
* If we're on an SH7751 or SH7780 PCI controller, PCI memory is * If we're on an SH7751 or SH7780 PCI controller, PCI memory is
* mapped at the end of the address space (typically 0xfd000000) * mapped at the end of the address space (typically 0xfd000000)
......
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