Messages in this thread Patch in this message | | | Date | Mon, 19 May 2008 21:35:38 +0900 | From | MinChan Kim <> | Subject | Re: [patch 04/14] free swap space on swap-in/activation |
| |
Hi, Rik.
I don't know where to send this patch. you or mm ? I guess VM pageout patches didn't send mm-commits yet.
It made compile error in my system that didn't have swap device.
----
Subject: [PATCH] Fix compile error about remove_exclusive_swap_page_ref
It happened compiled error when I removed CONFIG_SWAP in config file It caused by new API that is 'remove_exclusive_swap_page_ref'.
Signed-off-by: MinChan Kim <minchan.kim@gmail.com> --- include/linux/swap.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/linux/swap.h b/include/linux/swap.h index 4c3a2ef..f34fdb6 100644 --- a/include/linux/swap.h +++ b/include/linux/swap.h @@ -390,6 +390,11 @@ static inline int remove_exclusive_swap_page(struct page *p) return 0; } +static inline int remove_exclusive_swap_page_ref(struct page *page) +{ + return 0; +} + static inline swp_entry_t get_swap_page(void) { swp_entry_t entry; -- 1.5.4.3
| |