summaryrefslogtreecommitdiffstats
path: root/mm/swap.c
diff options
context:
space:
mode:
authorHugh Dickins <hughd@google.com>2012-01-13 02:20:00 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-01-13 05:13:10 +0100
commit4d06f382c733f99ec67df006255e87525ac1efd3 (patch)
tree1a4eebc3bb1d04ce053107a07ff4b472c007e32b /mm/swap.c
parentmm: fewer underscores in ____pagevec_lru_add (diff)
downloadlinux-4d06f382c733f99ec67df006255e87525ac1efd3.tar.xz
linux-4d06f382c733f99ec67df006255e87525ac1efd3.zip
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 '')
-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)
SetPageReferenced(page);
}
}
-
EXPORT_SYMBOL(mark_page_accessed);
void __lru_cache_add(struct page *page, enum lru_list lru)
@@ -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
@@ -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);
/**
@@ -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,
@@ -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);
/*