Commit 4d06f382 authored by Hugh Dickins's avatar Hugh Dickins Committed by Linus Torvalds

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: default avatarHugh Dickins <hughd@google.com>
Reviewed-by: default avatarKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5095ae83
...@@ -369,7 +369,6 @@ void mark_page_accessed(struct page *page) ...@@ -369,7 +369,6 @@ void mark_page_accessed(struct page *page)
SetPageReferenced(page); SetPageReferenced(page);
} }
} }
EXPORT_SYMBOL(mark_page_accessed); EXPORT_SYMBOL(mark_page_accessed);
void __lru_cache_add(struct page *page, enum lru_list lru) void __lru_cache_add(struct page *page, enum lru_list lru)
...@@ -646,7 +645,6 @@ void __pagevec_release(struct pagevec *pvec) ...@@ -646,7 +645,6 @@ void __pagevec_release(struct pagevec *pvec)
release_pages(pvec->pages, pagevec_count(pvec), pvec->cold); release_pages(pvec->pages, pagevec_count(pvec), pvec->cold);
pagevec_reinit(pvec); pagevec_reinit(pvec);
} }
EXPORT_SYMBOL(__pagevec_release); EXPORT_SYMBOL(__pagevec_release);
#ifdef CONFIG_TRANSPARENT_HUGEPAGE #ifdef CONFIG_TRANSPARENT_HUGEPAGE
...@@ -726,7 +724,6 @@ void __pagevec_lru_add(struct pagevec *pvec, enum lru_list lru) ...@@ -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); pagevec_lru_move_fn(pvec, __pagevec_lru_add_fn, (void *)lru);
} }
EXPORT_SYMBOL(__pagevec_lru_add); EXPORT_SYMBOL(__pagevec_lru_add);
/** /**
...@@ -751,7 +748,6 @@ unsigned pagevec_lookup(struct pagevec *pvec, struct address_space *mapping, ...@@ -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); pvec->nr = find_get_pages(mapping, start, nr_pages, pvec->pages);
return pagevec_count(pvec); return pagevec_count(pvec);
} }
EXPORT_SYMBOL(pagevec_lookup); EXPORT_SYMBOL(pagevec_lookup);
unsigned pagevec_lookup_tag(struct pagevec *pvec, struct address_space *mapping, 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,7 +757,6 @@ unsigned pagevec_lookup_tag(struct pagevec *pvec, struct address_space *mapping,
nr_pages, pvec->pages); nr_pages, pvec->pages);
return pagevec_count(pvec); return pagevec_count(pvec);
} }
EXPORT_SYMBOL(pagevec_lookup_tag); EXPORT_SYMBOL(pagevec_lookup_tag);
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment