diff mbox series

MIPS: octeon: Add __raw_copy_[from|to|in]_user symbols

Message ID 20210408214846.50758-1-tsbogend@alpha.franken.de (mailing list archive)
State Accepted
Commit e86e75596623e1ce5d784db8214687326712a8ae
Headers show
Series MIPS: octeon: Add __raw_copy_[from|to|in]_user symbols | expand

Commit Message

Thomas Bogendoerfer April 8, 2021, 9:48 p.m. UTC
Cavium Octeon has it's own memcpy implementation and also need the change
done in commit 04324f44cb69 ("MIPS: Remove get_fs/set_fs").

Fixes: 04324f44cb69 ("MIPS: Remove get_fs/set_fs")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
---
 arch/mips/cavium-octeon/octeon-memcpy.S | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Comments

Sergey Shtylyov April 9, 2021, 8:42 a.m. UTC | #1
Hello!

On 09.04.2021 0:48, Thomas Bogendoerfer wrote:

> Cavium Octeon has it's own memcpy implementation and also need the change

    Its. :-)

> done in commit 04324f44cb69 ("MIPS: Remove get_fs/set_fs").
> 
> Fixes: 04324f44cb69 ("MIPS: Remove get_fs/set_fs")
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
[...]

MBR, Sergei
Thomas Bogendoerfer April 9, 2021, 9:44 a.m. UTC | #2
On Fri, Apr 09, 2021 at 11:42:46AM +0300, Sergei Shtylyov wrote:
> Hello!
> 
> On 09.04.2021 0:48, Thomas Bogendoerfer wrote:
> 
> > Cavium Octeon has it's own memcpy implementation and also need the change
> 
>    Its. :-)

applied (with typo fixed) to mips-next.

Thomas.
diff mbox series

Patch

diff --git a/arch/mips/cavium-octeon/octeon-memcpy.S b/arch/mips/cavium-octeon/octeon-memcpy.S
index 0a7c9834b81c..600d018cf354 100644
--- a/arch/mips/cavium-octeon/octeon-memcpy.S
+++ b/arch/mips/cavium-octeon/octeon-memcpy.S
@@ -150,8 +150,12 @@  LEAF(memcpy)					/* a0=dst a1=src a2=len */
 EXPORT_SYMBOL(memcpy)
 	move	v0, dst				/* return value */
 __memcpy:
-FEXPORT(__copy_user)
-EXPORT_SYMBOL(__copy_user)
+FEXPORT(__raw_copy_from_user)
+EXPORT_SYMBOL(__raw_copy_from_user)
+FEXPORT(__raw_copy_to_user)
+EXPORT_SYMBOL(__raw_copy_to_user)
+FEXPORT(__raw_copy_in_user)
+EXPORT_SYMBOL(__raw_copy_in_user)
 	/*
 	 * Note: dst & src may be unaligned, len may be 0
 	 * Temps