Skip to content

Commit

Permalink
mm: no blank line after EXPORT_SYMBOL in swap.c
Browse files Browse the repository at this point in the history
checkpatch rightly protests

  WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable

so fix the five offenders in mm/swap.c.

Signed-off-by: Hugh Dickins <[email protected]>
Reviewed-by: KOSAKI Motohiro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Hugh Dickins authored and torvalds committed Jan 13, 2012
1 parent 5095ae8 commit 4d06f38
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mm/swap.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,6 @@ void mark_page_accessed(struct page *page)
SetPageReferenced(page);
}
}

EXPORT_SYMBOL(mark_page_accessed);

void __lru_cache_add(struct page *page, enum lru_list lru)
Expand Down Expand Up @@ -646,7 +645,6 @@ void __pagevec_release(struct pagevec *pvec)
release_pages(pvec->pages, pagevec_count(pvec), pvec->cold);
pagevec_reinit(pvec);
}

EXPORT_SYMBOL(__pagevec_release);

#ifdef CONFIG_TRANSPARENT_HUGEPAGE
Expand Down Expand Up @@ -726,7 +724,6 @@ void __pagevec_lru_add(struct pagevec *pvec, enum lru_list lru)

pagevec_lru_move_fn(pvec, __pagevec_lru_add_fn, (void *)lru);
}

EXPORT_SYMBOL(__pagevec_lru_add);

/**
Expand All @@ -751,7 +748,6 @@ unsigned pagevec_lookup(struct pagevec *pvec, struct address_space *mapping,
pvec->nr = find_get_pages(mapping, start, nr_pages, pvec->pages);
return pagevec_count(pvec);
}

EXPORT_SYMBOL(pagevec_lookup);

unsigned pagevec_lookup_tag(struct pagevec *pvec, struct address_space *mapping,
Expand All @@ -761,7 +757,6 @@ unsigned pagevec_lookup_tag(struct pagevec *pvec, struct address_space *mapping,
nr_pages, pvec->pages);
return pagevec_count(pvec);
}

EXPORT_SYMBOL(pagevec_lookup_tag);

/*
Expand Down

0 comments on commit 4d06f38

Please sign in to comment.