[2.6 patch] frv: export empty_zero_page

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Howells <dhowells@...>
Cc: <linux-kernel@...>, Andrew Morton <akpm@...>
Date: Wednesday, May 21, 2008 - 3:54 pm

On Wed, May 21, 2008 at 08:24:45PM +0100, David Howells wrote:

Updated patch below.


cu
Adrian


<--  snip  -->


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@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

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

69b697b58fe1a9d7f871285768efdbec443ad2e8 diff --git a/arch/frv/mm/init.c b/arch/frv/mm/init.c
index b841ecf..9af7740 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>
@@ -56,7 +57,9 @@ 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(empty_zero_page);
 
 /*****************************************************************************/
 /*

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6 patch] frv: export empty_zero_page, Adrian Bunk, (Wed May 21, 1:42 pm)
Re: [2.6 patch] frv: export empty_zero_page, David Howells, (Wed May 21, 2:55 pm)
Re: [2.6 patch] frv: export empty_zero_page, Adrian Bunk, (Wed May 21, 3:16 pm)
Re: [2.6 patch] frv: export empty_zero_page, David Howells, (Wed May 21, 3:24 pm)
[2.6 patch] frv: export empty_zero_page, Adrian Bunk, (Wed May 21, 3:54 pm)