linux/arch
Akinobu Mita 5935877af4 powerpc: use for_each_sg()
This replaces the plain loop over the sglist array with for_each_sg()
macro which consists of sg_next() function calls.  Since powerpc does
select ARCH_HAS_SG_CHAIN, it is necessary to use for_each_sg() in order
to loop over each sg element.  This also help find problems with drivers
that do not properly initialize their sg tables when CONFIG_DEBUG_SG is
enabled.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-06-24 17:49:38 -07:00
..
alpha PCI changes for the v4.2 merge window: 2015-06-23 13:41:24 -07:00
arc Merge branch 'x86-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-06-22 17:59:09 -07:00
arm arm64 updates for 4.2, mostly refactoring/clean-up: 2015-06-24 10:02:15 -07:00
arm64 arm64 updates for 4.2, mostly refactoring/clean-up: 2015-06-24 10:02:15 -07:00
avr32 Merge branch 'x86-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-06-22 17:59:09 -07:00
blackfin blackfin: Fix build error 2015-06-10 10:19:24 -07:00
c6x
cris
frv PCI changes for the v4.2 merge window: 2015-06-23 13:41:24 -07:00
hexagon Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-06-22 15:52:04 -07:00
ia64 PCI changes for the v4.2 merge window: 2015-06-23 13:41:24 -07:00
m32r Merge branch 'x86-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-06-22 17:59:09 -07:00
m68k Merge branch 'for-4.2' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k 2015-06-22 20:32:50 -07:00
metag metag: use for_each_sg() 2015-06-24 17:49:38 -07:00
microblaze Microblaze patches for 4.2-rc1 2015-06-24 08:44:40 -07:00
mips The bulk of the changes here is for x86. And for once it's not 2015-06-24 09:36:49 -07:00
mn10300 PCI changes for the v4.2 merge window: 2015-06-23 13:41:24 -07:00
nios2 Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2015-06-22 21:04:48 -07:00
openrisc
parisc PCI changes for the v4.2 merge window: 2015-06-23 13:41:24 -07:00
powerpc powerpc: use for_each_sg() 2015-06-24 17:49:38 -07:00
s390 The bulk of the changes here is for x86. And for once it's not 2015-06-24 09:36:49 -07:00
score Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-06-22 15:52:04 -07:00
sh Merge branch 'for-linus-clk' of git://ftp.arm.linux.org.uk/~rmk/linux-arm 2015-06-23 15:50:46 -07:00
sparc PCI changes for the v4.2 merge window: 2015-06-23 13:41:24 -07:00
tile Merge branch 'x86-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-06-22 17:59:09 -07:00
um
unicore32 PCI changes for the v4.2 merge window: 2015-06-23 13:41:24 -07:00
x86 The bulk of the changes here is for x86. And for once it's not 2015-06-24 09:36:49 -07:00
xtensa Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2015-06-23 14:08:54 -07:00
.gitignore
Kconfig