diff options
author | Imre Deak <imre.deak@intel.com> | 2013-02-28 02:02:57 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-28 04:10:10 +0100 |
commit | 4225fc8555a992c7f91d174ef424384d6781e144 (patch) | |
tree | 46f73428afef93acc729fd36842e463b503bab58 /mm | |
parent | lib/scatterlist: add simple page iterator (diff) | |
download | linux-4225fc8555a992c7f91d174ef424384d6781e144.tar.xz linux-4225fc8555a992c7f91d174ef424384d6781e144.zip |
lib/scatterlist: use page iterator in the mapping iterator
For better code reuse use the newly added page iterator to iterate
through the pages. The offset, length within the page is still
calculated by the mapping iterator as well as the actual mapping. Idea
from Tejun Heo.
Signed-off-by: Imre Deak <imre.deak@intel.com>
Cc: Maxim Levitsky <maximlevitsky@gmail.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions