[PATCH v3 1/2] asm-generic: Remove pci.h copying remaining code to x86
Geert Uytterhoeven
geert at linux-m68k.org
Mon Jul 18 18:22:13 AEST 2022
On Mon, Jul 18, 2022 at 2:41 AM Stafford Horne <shorne at gmail.com> wrote:
> The generic pci.h header now only provides a definition of
> pci_get_legacy_ide_irq which is used by architectures that support PNP.
> Of the architectures that use asm-generic/pci.h this is only x86.
>
> This patch removes the old pci.h in order to make room for a new
> pci.h to be used by arm64, riscv, openrisc, etc.
>
> The existing code in pci.h is moved out to x86. On other architectures
> we clean up any outstanding references.
>
> Suggested-by: Arnd Bergmann <arnd at arndb.de>
> Link: https://lore.kernel.org/lkml/CAK8P3a0JmPeczfmMBE__vn=Jbvf=nkbpVaZCycyv40pZNCJJXQ@mail.gmail.com/
> Signed-off-by: Stafford Horne <shorne at gmail.com>
> ---
> Since v2:
> - Remove pci_get_legacy_ide_irq in m68k
> Since v1:
> - Remove pci_get_legacy_ide_irq for most architectures as its not needed.
> arch/m68k/include/asm/pci.h | 2 --
Acked-by: Geert Uytterhoeven <geert at linux-m68k.org>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
More information about the Linuxppc-dev
mailing list