[2.6 patch] frv: export empty_zero_page

From: Adrian Bunk
Date: Wed May 21 2008 - 13:45:19 EST


This patch fixes the following build error:

<-- snip -->

...
MODPOST 1845 modules
ERROR: "empty_zero_page" [fs/ext4/ext4dev.ko] undefined!
...
make[2]: *** [__modpost] Error 1

<-- snip -->

Reported-by: Adrian Bunk <bunk@xxxxxxxxxx>
Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---

arch/frv/mm/init.c | 2 ++
1 file changed, 2 insertions(+)

55cf8b72a4e2a78f61de2ef01e70bdd533c6bcf5 diff --git a/arch/frv/mm/init.c b/arch/frv/mm/init.c
index b841ecf..94ea3d8 100644
--- a/arch/frv/mm/init.c
+++ b/arch/frv/mm/init.c
@@ -26,6 +26,7 @@
#include <linux/types.h>
#include <linux/bootmem.h>
#include <linux/highmem.h>
+#include <linux/module.h>

#include <asm/setup.h>
#include <asm/segment.h>
@@ -57,6 +58,7 @@ DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
static unsigned long empty_bad_page_table;
static unsigned long empty_bad_page;
unsigned long empty_zero_page;
+EXPORT_SYMBOL_GPL(empty_zero_page);

/*****************************************************************************/
/*

--
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/