The patch titled

     ppc32: export cacheable_memcpy()

has been added to the -mm tree.  Its filename is

     ppc32-export-cacheable_memcpy.patch

Patches currently in -mm which might be from [EMAIL PROTECTED] are

ppc32-add-440gx-revf-cputable-entry.patch
ppc32-fix-emac-tx-channel-assignments-for-npe405h.patch
ppc32-fix-bamboo-and-luan-build-warnings.patch
ppc32-disable-ibm405_err77-and-ibm405_err51-workarounds-for-405ep.patch
ppc32-move-4xx-phy_mode_xxx-defines-to-ibm_ocph.patch
ppc32-add-dcr_base-field-to-ocp_func_mal_data.patch
ppc32-export-cacheable_memcpy.patch



From: Eugene Surovegin <[EMAIL PROTECTED]>

Add declaration and cacheable_memcpy().  I'll be needing this function in
new 4xx EMAC driver I'm going to submit to netdev soon.

IMHO, the better place for the declaration would be asm-powerpc/string.h,
unfortunately, ppc64 doesn't have this function, so asm-ppc/system.h is the
next best place.

Signed-off-by: Eugene Surovegin <[EMAIL PROTECTED]>
Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 arch/ppc/kernel/ppc_ksyms.c |    1 +
 include/asm-ppc/system.h    |    1 +
 2 files changed, 2 insertions(+)

diff -puN arch/ppc/kernel/ppc_ksyms.c~ppc32-export-cacheable_memcpy 
arch/ppc/kernel/ppc_ksyms.c
--- devel/arch/ppc/kernel/ppc_ksyms.c~ppc32-export-cacheable_memcpy     
2005-08-30 22:39:36.000000000 -0700
+++ devel-akpm/arch/ppc/kernel/ppc_ksyms.c      2005-08-30 22:39:36.000000000 
-0700
@@ -260,6 +260,7 @@ EXPORT_SYMBOL(__ashrdi3);
 EXPORT_SYMBOL(__ashldi3);
 EXPORT_SYMBOL(__lshrdi3);
 EXPORT_SYMBOL(memcpy);
+EXPORT_SYMBOL(cacheable_memcpy);
 EXPORT_SYMBOL(memset);
 EXPORT_SYMBOL(memmove);
 EXPORT_SYMBOL(memscan);
diff -puN include/asm-ppc/system.h~ppc32-export-cacheable_memcpy 
include/asm-ppc/system.h
--- devel/include/asm-ppc/system.h~ppc32-export-cacheable_memcpy        
2005-08-30 22:39:36.000000000 -0700
+++ devel-akpm/include/asm-ppc/system.h 2005-08-30 22:39:36.000000000 -0700
@@ -84,6 +84,7 @@ extern void cvt_fd(float *from, double *
 extern void cvt_df(double *from, float *to, unsigned long *fpscr);
 extern int call_rtas(const char *, int, int, unsigned long *, ...);
 extern void cacheable_memzero(void *p, unsigned int nb);
+extern void *cacheable_memcpy(void *, const void *, unsigned int);
 extern int do_page_fault(struct pt_regs *, unsigned long, unsigned long);
 extern void bad_page_fault(struct pt_regs *, unsigned long, int);
 extern void die(const char *, struct pt_regs *, long);
_
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to