MIPS: cleanup fixup_bigphys_addr handling
authorChristoph Hellwig <hch@lst.de>
Thu, 16 Apr 2020 15:00:07 +0000 (17:00 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sun, 19 Apr 2020 14:09:44 +0000 (16:09 +0200)
commitd399157283fb457cdc3ae03f2897070f0bd5d7c6
tree9d1fa9bcaf39e0745bea2971353b7f158e1a9d38
parentb604d4973af7df4bbe970b2c380f5a0477fa53ec
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>
arch/mips/Kconfig
arch/mips/alchemy/common/setup.c
arch/mips/include/asm/mach-au1x00/ioremap.h [deleted file]
arch/mips/include/asm/mach-bcm63xx/ioremap.h
arch/mips/include/asm/mach-bmips/ioremap.h
arch/mips/include/asm/mach-generic/ioremap.h
arch/mips/include/asm/mach-tx39xx/ioremap.h
arch/mips/include/asm/mach-tx49xx/ioremap.h
arch/mips/include/asm/pgtable.h
arch/mips/pci/pci-alchemy.c