Re: [PATCH 4/6] PCI: allow architecture specific implementation of pci_remap_iospace()

From: Arnd Bergmann
Date: Sat Sep 25 2021 - 13:38:43 EST


On Fri, Sep 24, 2021 at 11:11 PM Sergio Paracuellos
<sergio.paracuellos@xxxxxxxxx> wrote:
>
> pci_remap_iospace() was originally meant as an architecture specific helper,
> but it moved into generic code after all architectures had the same requirements.
> MIPS has different requirements so it should not be shared. The way for doing
> this will be using a macro 'pci_remap_iospace' defined for those architectures
> that need a special treatement. Hence, put core api function inside preprocesor
> conditional code for 'pci_remap_iospace' definition.
>
> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@xxxxxxxxx>

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>