[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4831741A.7090206@gmail.com>
Date: Mon, 19 May 2008 21:35:38 +0900
From: MinChan Kim <minchan.kim@...il.com>
To: Rik van Riel <riel@...hat.com>
CC: linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Lee Schermerhorn <lee.schermerhorn@...com>,
Kosaki Motohiro <kosaki.motohiro@...fujitsu.com>
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@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists