asm-generic: Add new pci.h and use it
authorStafford Horne <shorne@gmail.com>
Fri, 22 Jul 2022 21:49:44 +0000 (06:49 +0900)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 22 Jul 2022 22:34:57 +0000 (17:34 -0500)
commita2912b45b0826c6fc0ca9b264d03a2dacb7a72e8
tree39b39b94d831b4b1d700c240ee5ed7014385b96b
parentf619d23576f76bae9b3135d96033650ca3af611d
asm-generic: Add new pci.h and use it

The asm/pci.h used for many newer architectures share similar definitions.
Move the common parts to asm-generic/pci.h to allow for sharing code.

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/lkml/CAK8P3a0JmPeczfmMBE__vn=Jbvf=nkbpVaZCycyv40pZNCJJXQ@mail.gmail.com/
Link: https://lore.kernel.org/r/20220722214944.831438-5-shorne@gmail.com
Signed-off-by: Stafford Horne <shorne@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Pierre Morel <pmorel@linux.ibm.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/arm64/include/asm/pci.h
arch/csky/include/asm/pci.h
arch/riscv/include/asm/pci.h
arch/um/include/asm/pci.h
include/asm-generic/pci.h [new file with mode: 0644]