Commit 4d06f382c733f99ec67df006255e87525ac1efd3
Committed by
Linus Torvalds
1 parent
5095ae8375
Exists in
master
and in
6 other branches
mm: no blank line after EXPORT_SYMBOL in swap.c
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 <hughd@google.com> Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 0 additions and 5 deletions Side-by-side Diff
mm/swap.c
... | ... | @@ -369,7 +369,6 @@ |
369 | 369 | SetPageReferenced(page); |
370 | 370 | } |
371 | 371 | } |
372 | - | |
373 | 372 | EXPORT_SYMBOL(mark_page_accessed); |
374 | 373 | |
375 | 374 | void __lru_cache_add(struct page *page, enum lru_list lru) |
... | ... | @@ -646,7 +645,6 @@ |
646 | 645 | release_pages(pvec->pages, pagevec_count(pvec), pvec->cold); |
647 | 646 | pagevec_reinit(pvec); |
648 | 647 | } |
649 | - | |
650 | 648 | EXPORT_SYMBOL(__pagevec_release); |
651 | 649 | |
652 | 650 | #ifdef CONFIG_TRANSPARENT_HUGEPAGE |
... | ... | @@ -726,7 +724,6 @@ |
726 | 724 | |
727 | 725 | pagevec_lru_move_fn(pvec, __pagevec_lru_add_fn, (void *)lru); |
728 | 726 | } |
729 | - | |
730 | 727 | EXPORT_SYMBOL(__pagevec_lru_add); |
731 | 728 | |
732 | 729 | /** |
... | ... | @@ -751,7 +748,6 @@ |
751 | 748 | pvec->nr = find_get_pages(mapping, start, nr_pages, pvec->pages); |
752 | 749 | return pagevec_count(pvec); |
753 | 750 | } |
754 | - | |
755 | 751 | EXPORT_SYMBOL(pagevec_lookup); |
756 | 752 | |
757 | 753 | unsigned pagevec_lookup_tag(struct pagevec *pvec, struct address_space *mapping, |
... | ... | @@ -761,7 +757,6 @@ |
761 | 757 | nr_pages, pvec->pages); |
762 | 758 | return pagevec_count(pvec); |
763 | 759 | } |
764 | - | |
765 | 760 | EXPORT_SYMBOL(pagevec_lookup_tag); |
766 | 761 | |
767 | 762 | /* |