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> |
||
---|---|---|
.. | ||
COPYING.LIB | ||
Makefile | ||
ashldi3.S | ||
ashrdi3.S | ||
atomic.S | ||
atomic32.c | ||
bitext.c | ||
blockops.S | ||
checksum.S | ||
cmpdi2.c | ||
copy_user.S | ||
divdi3.S | ||
iomap.c | ||
libgcc.h | ||
locks.S | ||
lshrdi3.S | ||
memcmp.S | ||
memcpy.S | ||
memscan.S | ||
memset.S | ||
mul.S | ||
muldi3.S | ||
rem.S | ||
rwsem.S | ||
sdiv.S | ||
strlen.S | ||
strlen_user.S | ||
strncmp.S | ||
strncpy_from_user.S | ||
udiv.S | ||
udivdi3.S | ||
umul.S | ||
urem.S |