kernel_optimize_test/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
arc
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
blackfin
c6x
cris
frv
hexagon
ia64
m32r
m68k
metag metag: use for_each_sg() 2015-06-24 17:49:38 -07:00
microblaze
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
nios2
openrisc
parisc
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
sh
sparc
tile
um
unicore32
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
.gitignore
Kconfig