[PATCH] export swapper_space

From: James Bottomley
Date: Sun May 23 2004 - 17:52:28 EST


This is now used as part of the page_mapping() macro. However, certain
filesystems, such as ext3, make use of this. If it's not exported, they
can't be compiled as modules.

James

===== mm/swap_state.c 1.77 vs edited =====
--- 1.77/mm/swap_state.c Sat May 22 16:56:26 2004
+++ edited/mm/swap_state.c Sun May 23 16:53:37 2004
@@ -14,6 +14,7 @@
#include <linux/pagemap.h>
#include <linux/buffer_head.h>
#include <linux/backing-dev.h>
+#include <linux/module.h>

#include <asm/pgtable.h>

@@ -38,6 +39,7 @@
.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)



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/