swap: fix function declaration
PATCH 1/1 swap: fix function declaration
From: Randy Dunlap <[email protected]>
Fix function declaration:mm/swap.c:130:22: warning: non-ANSI function declaration of function 'move_tail_pages'
Signed-off-by Randy Dunlap <[email protected]>
--- mm/swap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/swap.c +1 -1
@@ -127,7 +127,7 @@ static void pagevec_move_tail(struct pag static DEFINE_PER_CPU(struct pagevec, rotate_pvecs) = { 0, }; -void move_tail_pages () +void move_tail_pages (void ) {unsigned long flags;struct pagevec *pvec;