aboutsummaryrefslogtreecommitdiffstats
path: root/mm/swap.c
diff options
context:
space:
mode:
authorHugh Dickins <hughd@google.com>2012-01-12 20:20:00 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2012-01-12 23:13:10 -0500
commit4d06f382c733f99ec67df006255e87525ac1efd3 (patch)
tree1a4eebc3bb1d04ce053107a07ff4b472c007e32b /mm/swap.c
parent5095ae83759f035c823fb375c6ed2de99c81d5ec (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.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mm/swap.c b/mm/swap.c
index e1cd623d9b2b..0d1b24b3fa87 100644
--- a/mm/swap.c
+++ b/mm/swap.c
@@ -369,7 +369,6 @@ void mark_page_accessed(struct page *page)
369 SetPageReferenced(page); 369 SetPageReferenced(page);
370 } 370 }
371} 371}
372
373EXPORT_SYMBOL(mark_page_accessed); 372EXPORT_SYMBOL(mark_page_accessed);
374 373
375void __lru_cache_add(struct page *page, enum lru_list lru) 374void __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
650EXPORT_SYMBOL(__pagevec_release); 648EXPORT_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
730EXPORT_SYMBOL(__pagevec_lru_add); 727EXPORT_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
755EXPORT_SYMBOL(pagevec_lookup); 751EXPORT_SYMBOL(pagevec_lookup);
756 752
757unsigned pagevec_lookup_tag(struct pagevec *pvec, struct address_space *mapping, 753unsigned 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
765EXPORT_SYMBOL(pagevec_lookup_tag); 760EXPORT_SYMBOL(pagevec_lookup_tag);
766 761
767/* 762/*