diff options
author | Hugh Dickins <hughd@google.com> | 2012-01-12 20:20:00 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-12 23:13:10 -0500 |
commit | 4d06f382c733f99ec67df006255e87525ac1efd3 (patch) | |
tree | 1a4eebc3bb1d04ce053107a07ff4b472c007e32b /mm/swap.c | |
parent | 5095ae83759f035c823fb375c6ed2de99c81d5ec (diff) |
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>
Diffstat (limited to 'mm/swap.c')
-rw-r--r-- | mm/swap.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -369,7 +369,6 @@ void mark_page_accessed(struct page *page) | |||
369 | SetPageReferenced(page); | 369 | SetPageReferenced(page); |
370 | } | 370 | } |
371 | } | 371 | } |
372 | |||
373 | EXPORT_SYMBOL(mark_page_accessed); | 372 | EXPORT_SYMBOL(mark_page_accessed); |
374 | 373 | ||
375 | void __lru_cache_add(struct page *page, enum lru_list lru) | 374 | void __lru_cache_add(struct page *page, enum lru_list lru) |
@@ -646,7 +645,6 @@ void __pagevec_release(struct pagevec *pvec) | |||
646 | release_pages(pvec->pages, pagevec_count(pvec), pvec->cold); | 645 | release_pages(pvec->pages, pagevec_count(pvec), pvec->cold); |
647 | pagevec_reinit(pvec); | 646 | pagevec_reinit(pvec); |
648 | } | 647 | } |
649 | |||
650 | EXPORT_SYMBOL(__pagevec_release); | 648 | EXPORT_SYMBOL(__pagevec_release); |
651 | 649 | ||
652 | #ifdef CONFIG_TRANSPARENT_HUGEPAGE | 650 | #ifdef CONFIG_TRANSPARENT_HUGEPAGE |
@@ -726,7 +724,6 @@ void __pagevec_lru_add(struct pagevec *pvec, enum lru_list lru) | |||
726 | 724 | ||
727 | pagevec_lru_move_fn(pvec, __pagevec_lru_add_fn, (void *)lru); | 725 | pagevec_lru_move_fn(pvec, __pagevec_lru_add_fn, (void *)lru); |
728 | } | 726 | } |
729 | |||
730 | EXPORT_SYMBOL(__pagevec_lru_add); | 727 | EXPORT_SYMBOL(__pagevec_lru_add); |
731 | 728 | ||
732 | /** | 729 | /** |
@@ -751,7 +748,6 @@ unsigned pagevec_lookup(struct pagevec *pvec, struct address_space *mapping, | |||
751 | pvec->nr = find_get_pages(mapping, start, nr_pages, pvec->pages); | 748 | pvec->nr = find_get_pages(mapping, start, nr_pages, pvec->pages); |
752 | return pagevec_count(pvec); | 749 | return pagevec_count(pvec); |
753 | } | 750 | } |
754 | |||
755 | EXPORT_SYMBOL(pagevec_lookup); | 751 | EXPORT_SYMBOL(pagevec_lookup); |
756 | 752 | ||
757 | unsigned pagevec_lookup_tag(struct pagevec *pvec, struct address_space *mapping, | 753 | unsigned pagevec_lookup_tag(struct pagevec *pvec, struct address_space *mapping, |
@@ -761,7 +757,6 @@ unsigned pagevec_lookup_tag(struct pagevec *pvec, struct address_space *mapping, | |||
761 | nr_pages, pvec->pages); | 757 | nr_pages, pvec->pages); |
762 | return pagevec_count(pvec); | 758 | return pagevec_count(pvec); |
763 | } | 759 | } |
764 | |||
765 | EXPORT_SYMBOL(pagevec_lookup_tag); | 760 | EXPORT_SYMBOL(pagevec_lookup_tag); |
766 | 761 | ||
767 | /* | 762 | /* |