2008-03-24 18:03:50

by Aneesh Kumar K.V

[permalink] [raw]
Subject: [PATCH] powerpc: Export needed symbol for ZERO_PAGE usage in modules.

ext4 use ZERO_PAGE(0) to zero out blocks. We need to export
different symbols in different arch for the usage of ZERO_PAGE
in modules.

Signed-off-by: Aneesh Kumar K.V <[email protected]>
---
arch/powerpc/kernel/ppc_ksyms.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc/kernel/ppc_ksyms.c
index 9c98424..93fb09a 100644
--- a/arch/powerpc/kernel/ppc_ksyms.c
+++ b/arch/powerpc/kernel/ppc_ksyms.c
@@ -192,3 +192,5 @@ EXPORT_SYMBOL(intercept_table);
EXPORT_SYMBOL(__mtdcr);
EXPORT_SYMBOL(__mfdcr);
#endif
+
+EXPORT_SYMBOL(empty_zero_page);
--
1.5.5.rc0.16.g02b00.dirty



2008-03-25 23:19:46

by Theodore Ts'o

[permalink] [raw]
Subject: Re: [PATCH] powerpc: Export needed symbol for ZERO_PAGE usage in modules.

On Mon, Mar 24, 2008 at 11:33:45PM +0530, Aneesh Kumar K.V wrote:
> ext4 use ZERO_PAGE(0) to zero out blocks. We need to export
> different symbols in different arch for the usage of ZERO_PAGE
> in modules.

Aneesh, FYI this is already in in powerpc's next branch.

- Ted