summaryrefslogtreecommitdiff
path: root/arch/ia64/kernel/fsys.S
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2015-05-01 15:47:22 +0900
committerGeert Uytterhoeven <geert@linux-m68k.org>2015-06-01 10:36:29 +0200
commit1214c525484cabb27ed37df936c3451682757263 (patch)
tree6e61f889d8c4c01d8e7e71eb585a550e489843f6 /arch/ia64/kernel/fsys.S
parent4d686b02f68f3f821cadb2f3898b07867e3fafde (diff)
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>
Diffstat (limited to 'arch/ia64/kernel/fsys.S')
0 files changed, 0 insertions, 0 deletions