linux/arch/sparc64/lib
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
..
GENbzero.S [SPARC64]: Fix inconsistent .section usage in lib/ 2008-01-31 19:32:44 -08:00
GENcopy_from_user.S [SPARC64]: Do not assume sun4v chips have load-twin/store-init support. 2007-08-08 17:33:45 -07:00
GENcopy_to_user.S [SPARC64]: Do not assume sun4v chips have load-twin/store-init support. 2007-08-08 17:33:45 -07:00
GENmemcpy.S [SPARC64]: Do not assume sun4v chips have load-twin/store-init support. 2007-08-08 17:33:45 -07:00
GENpage.S [SPARC64]: Do not assume sun4v chips have load-twin/store-init support. 2007-08-08 17:33:45 -07:00
GENpatch.S [SPARC64]: Do not assume sun4v chips have load-twin/store-init support. 2007-08-08 17:33:45 -07:00
Makefile [SPARC64]: Niagara-2 optimized copies. 2007-08-16 01:47:25 -07:00
NG2copy_from_user.S [SPARC64]: Niagara-2 optimized copies. 2007-08-16 01:47:25 -07:00
NG2copy_to_user.S [SPARC64]: Niagara-2 optimized copies. 2007-08-16 01:47:25 -07:00
NG2memcpy.S [SPARC64]: Niagara-2 optimized copies. 2007-08-16 01:47:25 -07:00
NG2page.S [SPARC64]: Niagara-2 optimized copies. 2007-08-16 01:47:25 -07:00
NG2patch.S [SPARC64]: Niagara-2 optimized copies. 2007-08-16 01:47:25 -07:00
NGbzero.S [SPARC64]: Fix inconsistent .section usage in lib/ 2008-01-31 19:32:44 -08:00
NGcopy_from_user.S [SPARC64]: Fix missing load-twin usage in Niagara-1 memcpy. 2007-10-02 01:03:09 -07:00
NGcopy_to_user.S [SPARC64]: Fix missing load-twin usage in Niagara-1 memcpy. 2007-10-02 01:03:09 -07:00
NGmemcpy.S [SPARC64]: Don't use in/local regs for ldx/stx data in N1 memcpy. 2007-10-02 16:17:17 -07:00
NGpage.S [SPARC64]: Niagara-2 optimized copies. 2007-08-16 01:47:25 -07:00
NGpatch.S [SPARC64]: Fix branch signedness bug in all code patching. 2006-03-20 01:12:29 -08:00
PeeCeeI.c [SPARC64]: Use 'unsigned long' for port argument to I/O string ops. 2005-08-31 15:01:33 -07:00
U1copy_from_user.S [SPARC64]: Mark __ex_table section correctly. 2006-03-04 23:23:56 -08:00
U1copy_to_user.S [SPARC64]: Mark __ex_table section correctly. 2006-03-04 23:23:56 -08:00
U1memcpy.S
U3copy_from_user.S [SPARC64]: Mark __ex_table section correctly. 2006-03-04 23:23:56 -08:00
U3copy_to_user.S [SPARC64]: Mark __ex_table section correctly. 2006-03-04 23:23:56 -08:00
U3memcpy.S
U3patch.S [SPARC64]: Fix branch signedness bug in all code patching. 2006-03-20 01:12:29 -08:00
VISsave.S [SPARC64]: Fix userland FPU state corruption. 2005-10-07 13:30:49 -07:00
atomic.S [SPARC64]: Implement atomic backoff. 2007-10-17 16:24:55 -07:00
bitops.S [SPARC64]: Implement atomic backoff. 2007-10-17 16:24:55 -07:00
bzero.S [SPARC64]: __bzero_noasi --> __clear_user 2006-03-20 01:13:28 -08:00
checksum.S [SPARC64]: Fix missing fold at end of checksums. 2006-06-04 21:32:01 -07:00
clear_page.S [SPARC64]: Deal with PTE layout differences in SUN4V. 2006-03-20 01:12:25 -08:00
copy_in_user.S [SPARC64]: Mark __ex_table section correctly. 2006-03-04 23:23:56 -08:00
copy_page.S [SPARC64]: Deal with PTE layout differences in SUN4V. 2006-03-20 01:12:25 -08:00
csum_copy.S [SPARC64]: Fix missing fold at end of checksums. 2006-06-04 21:32:01 -07:00
csum_copy_from_user.S [SPARC64]: Mark __ex_table section correctly. 2006-03-04 23:23:56 -08:00
csum_copy_to_user.S [SPARC64]: Mark __ex_table section correctly. 2006-03-04 23:23:56 -08:00
iomap.c iomap: fix 64 bits resources on 32 bits 2008-04-29 08:06:02 -07:00
ipcsum.S
mcount.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
memcmp.S
memmove.S
memscan.S
rwsem.S [SPARC/SPARC64]: Fix usage of .section .sched.text in assembler code. 2008-01-31 19:32:43 -08:00
strlen.S
strlen_user.S [SPARC64]: Mark __ex_table section correctly. 2006-03-04 23:23:56 -08:00
strncmp.S
strncpy_from_user.S [SPARC64]: Mark __ex_table section correctly. 2006-03-04 23:23:56 -08:00
user_fixup.c [SPARC64]: Simplify user fault fixup handling. 2005-09-28 21:06:47 -07:00
xor.S [SPARC64]: Fix register usage in xor_raid_4(). 2007-10-13 21:53:14 -07:00