diff options
author | Christoph Hellwig <hch@lst.de> | 2020-04-16 17:00:07 +0200 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-04-19 16:09:44 +0200 |
commit | d399157283fb457cdc3ae03f2897070f0bd5d7c6 (patch) | |
tree | 9d1fa9bcaf39e0745bea2971353b7f158e1a9d38 /arch/mips/include/asm/mach-tx49xx | |
parent | MIPS: remove cpu_has_64bit_addresses (diff) | |
download | linux-d399157283fb457cdc3ae03f2897070f0bd5d7c6.tar.xz linux-d399157283fb457cdc3ae03f2897070f0bd5d7c6.zip |
MIPS: cleanup fixup_bigphys_addr handling
fixup_bigphys_addr is only provided by the alchemy platform. Remove
all the stubs, and ensure we only call it if it is actually implemented.
Also don't bother implementing io_remap_pfn_range if we don't have to,
and move the remaining implementation to alchemy platform code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/include/asm/mach-tx49xx')
-rw-r--r-- | arch/mips/include/asm/mach-tx49xx/ioremap.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/mips/include/asm/mach-tx49xx/ioremap.h b/arch/mips/include/asm/mach-tx49xx/ioremap.h index c6b9e05f44c4..b1f3710acf8e 100644 --- a/arch/mips/include/asm/mach-tx49xx/ioremap.h +++ b/arch/mips/include/asm/mach-tx49xx/ioremap.h @@ -7,15 +7,6 @@ #include <linux/types.h> -/* - * Allow physical addresses to be fixed up to help peripherals located - * outside the low 32-bit range -- generic pass-through version. - */ -static inline phys_addr_t fixup_bigphys_addr(phys_addr_t phys_addr, phys_addr_t size) -{ - return phys_addr; -} - static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size, unsigned long flags) { |