mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
mm: fewer underscores in ____pagevec_lru_add
What's so special about ____pagevec_lru_add() that it needs four leading underscores? Nothing, it just helped to distinguish from __pagevec_lru_add() in 2.6.28 development. Cut two leading underscores. 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>
This commit is contained in:
parent
2bcf887963
commit
5095ae8375
2 changed files with 11 additions and 11 deletions
|
@ -21,7 +21,7 @@ struct pagevec {
|
|||
};
|
||||
|
||||
void __pagevec_release(struct pagevec *pvec);
|
||||
void ____pagevec_lru_add(struct pagevec *pvec, enum lru_list lru);
|
||||
void __pagevec_lru_add(struct pagevec *pvec, enum lru_list lru);
|
||||
unsigned pagevec_lookup(struct pagevec *pvec, struct address_space *mapping,
|
||||
pgoff_t start, unsigned nr_pages);
|
||||
unsigned pagevec_lookup_tag(struct pagevec *pvec,
|
||||
|
@ -66,22 +66,22 @@ static inline void pagevec_release(struct pagevec *pvec)
|
|||
|
||||
static inline void __pagevec_lru_add_anon(struct pagevec *pvec)
|
||||
{
|
||||
____pagevec_lru_add(pvec, LRU_INACTIVE_ANON);
|
||||
__pagevec_lru_add(pvec, LRU_INACTIVE_ANON);
|
||||
}
|
||||
|
||||
static inline void __pagevec_lru_add_active_anon(struct pagevec *pvec)
|
||||
{
|
||||
____pagevec_lru_add(pvec, LRU_ACTIVE_ANON);
|
||||
__pagevec_lru_add(pvec, LRU_ACTIVE_ANON);
|
||||
}
|
||||
|
||||
static inline void __pagevec_lru_add_file(struct pagevec *pvec)
|
||||
{
|
||||
____pagevec_lru_add(pvec, LRU_INACTIVE_FILE);
|
||||
__pagevec_lru_add(pvec, LRU_INACTIVE_FILE);
|
||||
}
|
||||
|
||||
static inline void __pagevec_lru_add_active_file(struct pagevec *pvec)
|
||||
{
|
||||
____pagevec_lru_add(pvec, LRU_ACTIVE_FILE);
|
||||
__pagevec_lru_add(pvec, LRU_ACTIVE_FILE);
|
||||
}
|
||||
|
||||
static inline void pagevec_lru_add_file(struct pagevec *pvec)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue