[RFC PATCH 0/2] Updates for asm-generic/pci.h

Stafford Horne shorne at gmail.com
Thu Jul 14 14:46:55 PDT 2022


When reviewing the OpenRISC PCI support patch Arnd suggested that
we avoid copying arm64 and riscv asm/pci.h and moving that to be
the new asm-generic/pci.h.

This patch does that by first moving the old pci.h definition
of pci_get_legacy_ide_irq out to the architectures that use it.
Next, we create the new pci.h definition.

Stafford Horne (2):
  asm-generic: Remove pci.h copying code out to architectures
  asm-generic: Add new pci.h and use it

 arch/alpha/include/asm/pci.h   |  1 -
 arch/arm64/include/asm/pci.h   | 18 ++-----------
 arch/csky/include/asm/pci.h    | 24 +++--------------
 arch/ia64/include/asm/pci.h    |  1 -
 arch/m68k/include/asm/pci.h    |  7 +++--
 arch/powerpc/include/asm/pci.h |  1 -
 arch/riscv/include/asm/pci.h   | 25 +++--------------
 arch/s390/include/asm/pci.h    |  6 ++++-
 arch/sparc/include/asm/pci.h   |  5 +++-
 arch/um/include/asm/pci.h      | 24 ++---------------
 arch/x86/include/asm/pci.h     |  6 +++--
 arch/xtensa/include/asm/pci.h  |  6 +++--
 include/asm-generic/pci.h      | 49 +++++++++++++++++++++++++---------
 13 files changed, 69 insertions(+), 104 deletions(-)

-- 
2.36.1




More information about the linux-riscv mailing list