Commit 54def8e4 authored by Johannes Weiner's avatar Johannes Weiner Committed by James Toy

disable_swap_token() doesn't take an argument. This fixes the

!CONFIG_SWAP dummy.
Signed-off-by: default avatarJohannes Weiner <hannes@cmpxchg.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 71dc3e5b
......@@ -454,7 +454,7 @@ static inline int has_swap_token(struct mm_struct *mm)
return 0;
}
static inline void disable_swap_token(struct mm_struct *mm)
static inline void disable_swap_token(void)
{
}
......
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