Commit 727a7f73 authored by Russell King's avatar Russell King Committed by Linus Torvalds

[PATCH] Export swapper_space

swapper_space is needed by at least loop/st/sg these days.
parent f80063e9
......@@ -6,7 +6,7 @@
*
* Rewritten to use page cache, (C) 1998 Stephen Tweedie
*/
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/kernel_stat.h>
#include <linux/swap.h>
......@@ -38,6 +38,7 @@ struct address_space swapper_space = {
.a_ops = &swap_aops,
.backing_dev_info = &swap_backing_dev_info,
};
EXPORT_SYMBOL(swapper_space);
#define INC_CACHE_INFO(x) do { swap_cache_info.x++; } while (0)
......
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