linux/arch/m68k
Akinobu Mita 1214c52548 m68k: 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 m68k doesn't
select ARCH_HAS_SG_CHAIN, it is not necessary to use for_each_sg() in
order to loop over each sg element.  But this can 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: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-m68k@lists.linux-m68k.org
Cc: linux-arch@vger.kernel.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2015-06-01 10:36:29 +02:00
..
68000
68360
amiga
apollo
atari
bvme6000
coldfire
configs m68k/defconfig: Update defconfigs for v4.1-rc6 2015-06-01 10:36:29 +02:00
emu
fpsp040
hp300
ifpsp060
include
kernel m68k: Use for_each_sg() 2015-06-01 10:36:29 +02:00
lib
mac
math-emu
mm
mvme16x
mvme147
q40
sun3
sun3x
tools/amiga
install.sh
Kconfig
Kconfig.bus
Kconfig.cpu
Kconfig.debug
Kconfig.devices
Kconfig.machine
Makefile