diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-02-07 07:27:50 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-02-12 20:54:46 -0500 |
commit | ca43ecbf6e5c7216152e5a388f2ecdd87e07a293 (patch) | |
tree | f65d373ae1a1ccecc1deeff77d09a08f27e5439f | |
parent | f5df54dc2e1dce80eb7fb45f3f6d5ce096d911f3 (diff) |
sh: Kill dead/unused ISA code from __ioremap().
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/sh/mm/ioremap.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/sh/mm/ioremap.c b/arch/sh/mm/ioremap.c index 90b494a0cf45..be03d74e99cb 100644 --- a/arch/sh/mm/ioremap.c +++ b/arch/sh/mm/ioremap.c | |||
@@ -45,12 +45,6 @@ void __iomem *__ioremap(unsigned long phys_addr, unsigned long size, | |||
45 | return NULL; | 45 | return NULL; |
46 | 46 | ||
47 | /* | 47 | /* |
48 | * Don't remap the low PCI/ISA area, it's always mapped.. | ||
49 | */ | ||
50 | if (phys_addr >= 0xA0000 && last_addr < 0x100000) | ||
51 | return (void __iomem *)phys_to_virt(phys_addr); | ||
52 | |||
53 | /* | ||
54 | * If we're on an SH7751 or SH7780 PCI controller, PCI memory is | 48 | * If we're on an SH7751 or SH7780 PCI controller, PCI memory is |
55 | * mapped at the end of the address space (typically 0xfd000000) | 49 | * mapped at the end of the address space (typically 0xfd000000) |
56 | * in a non-translatable area, so mapping through page tables for | 50 | * in a non-translatable area, so mapping through page tables for |