2008-08-06 21:21:07

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] m32r: export empty_zero_page

This patch fixes the following build error:

<-- snip -->

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

<-- snip -->

Reported-by: Adrian Bunk <[email protected]>
Signed-off-by: Adrian Bunk <[email protected]>

---

This patch has been sent on:
- 11 Jun 2008

arch/m32r/kernel/m32r_ksyms.c | 2 ++
1 file changed, 2 insertions(+)

ae7a1cecb2071e861cbcd6ee362ed93dd43793d5 diff --git a/arch/m32r/kernel/m32r_ksyms.c b/arch/m32r/kernel/m32r_ksyms.c
index e6709fe..94b1893 100644
--- a/arch/m32r/kernel/m32r_ksyms.c
+++ b/arch/m32r/kernel/m32r_ksyms.c
@@ -14,6 +14,7 @@
#include <asm/delay.h>
#include <asm/irq.h>
#include <asm/tlbflush.h>
+#include <asm/pgtable.h>

/* platform dependent support */
EXPORT_SYMBOL(boot_cpu_data);
@@ -68,6 +69,7 @@ EXPORT_SYMBOL(memset);
EXPORT_SYMBOL(copy_page);
EXPORT_SYMBOL(clear_page);
EXPORT_SYMBOL(strlen);
+EXPORT_SYMBOL(empty_zero_page);

EXPORT_SYMBOL(_inb);
EXPORT_SYMBOL(_inw);