Skip to content

Commit

Permalink
mm/scatterlist: Sync with the proposed patch.
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
  • Loading branch information
Sebastian Andrzej Siewior committed Sep 30, 2021
1 parent de32315 commit a4dbd1f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions lib/scatterlist.c
Original file line number Diff line number Diff line change
Expand Up @@ -828,8 +828,7 @@ static bool sg_miter_get_next_page(struct sg_mapping_iter *miter)
* stops @miter.
*
* Context:
* Don't care if @miter is stopped, or not proceeded yet.
* Otherwise, preemption disabled if the SG_MITER_ATOMIC is set.
* Don't care.
*
* Returns:
* true if @miter contains the valid mapping. false if end of sg
Expand Down Expand Up @@ -865,8 +864,7 @@ EXPORT_SYMBOL(sg_miter_skip);
* @miter->addr and @miter->length point to the current mapping.
*
* Context:
* Preemption disabled if SG_MITER_ATOMIC. Preemption must stay disabled
* till @miter is stopped. May sleep if !SG_MITER_ATOMIC.
* May sleep if !SG_MITER_ATOMIC.
*
* Returns:
* true if @miter contains the next mapping. false if end of sg
Expand Down Expand Up @@ -906,8 +904,7 @@ EXPORT_SYMBOL(sg_miter_next);
* need to be released during iteration.
*
* Context:
* Preemption disabled if the SG_MITER_ATOMIC is set. Don't care
* otherwise.
* Don't care otherwise.
*/
void sg_miter_stop(struct sg_mapping_iter *miter)
{
Expand Down

0 comments on commit a4dbd1f

Please sign in to comment.