]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit61a19fe59ec10eedf17dd3f1c089ac795b9a8147
tree9d1fa9bcaf39e0745bea2971353b7f158e1a9d38
parent07f7188cb0c3b1e2e4b68bc9f801159bc792fe2f
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