android_kernel_xiaomi_sm8350/arch/sh/drivers/pci
Benjamin Herrenschmidt b70d3a2c59 iomap: fix 64 bits resources on 32 bits
Almost all implementations of pci_iomap() in the kernel, including the generic
lib/iomap.c one, copies the content of a struct resource into unsigned long's
which will break on 32 bits platforms with 64 bits resources.

This fixes all definitions of pci_iomap() to use resource_size_t.  I also
"fixed" the 64bits arch for consistency.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-29 08:06:02 -07:00
..
fixups-dreamcast.c sh: use declared coherent memory for dreamcast pci ethernet adapter 2008-01-28 13:19:04 +09:00
fixups-lboxre2.c sh: use ctrl_in/out for on chip pci access 2008-02-14 14:25:32 +09:00
fixups-r7780rp.c
fixups-rts7751r2d.c sh: use ctrl_in/out for on chip pci access 2008-02-14 14:25:32 +09:00
fixups-sdk7780.c sh: Add support for SDK7780 board. 2008-01-28 13:19:04 +09:00
fixups-se7780.c
fixups-sh03.c
Kconfig PCI: Kconfig help: don't refer to the PCI-HOWTO 2008-02-01 15:04:26 -08:00
Makefile sh: use declared coherent memory for dreamcast pci ethernet adapter 2008-01-28 13:19:04 +09:00
ops-cayman.c sh: Get the SH-5 PCI support building. 2008-01-28 13:18:55 +09:00
ops-dreamcast.c sh: revert dreamcast pci change 2008-02-26 14:14:56 +09:00
ops-landisk.c
ops-lboxre2.c
ops-r7780rp.c sh: update r7780rp interrupt code 2008-01-28 16:24:01 +09:00
ops-rts7751r2d.c sh: fix pci io access for r2d boards 2008-02-14 14:25:41 +09:00
ops-sdk7780.c sh: Add support for SDK7780 board. 2008-01-28 13:19:04 +09:00
ops-se7780.c sh: Support PCI IO access of SH7780 base boards. 2007-11-30 12:36:13 +09:00
ops-sh4.c
ops-sh5.c sh: Get the SH-5 PCI support building. 2008-01-28 13:18:55 +09:00
ops-sh03.c
ops-snapgear.c
ops-titan.c
pci-auto.c sh: Kill off dead HS771RVoIP board support. 2008-01-28 13:19:03 +09:00
pci-sh4.h PCI: remove initial bios sort of PCI devices on x86 2008-04-20 21:46:58 -07:00
pci-sh5.c sh: Get the SH-5 PCI support building. 2008-01-28 13:18:55 +09:00
pci-sh5.h sh: Get the SH-5 PCI support building. 2008-01-28 13:18:55 +09:00
pci-sh7751.c sh: use ctrl_in/out for on chip pci access 2008-02-14 14:25:32 +09:00
pci-sh7751.h
pci-sh7780.c sh: use ctrl_in/out for on chip pci access 2008-02-14 14:25:32 +09:00
pci-sh7780.h sh: Add support for SH7763 CPU subtype. 2008-01-28 13:19:02 +09:00
pci.c iomap: fix 64 bits resources on 32 bits 2008-04-29 08:06:02 -07:00