Commit 87470444 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] fix CONFIG_SWAP=n build

mm/rmap.c contains an open-coded reference to swap_token_default_timeout
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 21301d43
...@@ -269,6 +269,7 @@ static inline void put_swap_token(struct mm_struct *mm) ...@@ -269,6 +269,7 @@ static inline void put_swap_token(struct mm_struct *mm)
#define move_from_swap_cache(p, i, m) 1 #define move_from_swap_cache(p, i, m) 1
#define __delete_from_swap_cache(p) /*NOTHING*/ #define __delete_from_swap_cache(p) /*NOTHING*/
#define delete_from_swap_cache(p) /*NOTHING*/ #define delete_from_swap_cache(p) /*NOTHING*/
#define swap_token_default_timeout 0
static inline int remove_exclusive_swap_page(struct page *p) static inline int remove_exclusive_swap_page(struct page *p)
{ {
......
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