linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] MIPS: octeon: Add __raw_copy_[from|to|in]_user symbols
@ 2021-04-08 21:48 Thomas Bogendoerfer
  2021-04-09  8:42 ` Sergei Shtylyov
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Bogendoerfer @ 2021-04-08 21:48 UTC (permalink / raw)
  To: linux-mips, linux-kernel; +Cc: kernel test robot

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(-)

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
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] MIPS: octeon: Add __raw_copy_[from|to|in]_user symbols
  2021-04-08 21:48 [PATCH] MIPS: octeon: Add __raw_copy_[from|to|in]_user symbols Thomas Bogendoerfer
@ 2021-04-09  8:42 ` Sergei Shtylyov
  2021-04-09  9:44   ` Thomas Bogendoerfer
  0 siblings, 1 reply; 3+ messages in thread
From: Sergei Shtylyov @ 2021-04-09  8:42 UTC (permalink / raw)
  To: Thomas Bogendoerfer, linux-mips, linux-kernel; +Cc: kernel test robot

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] MIPS: octeon: Add __raw_copy_[from|to|in]_user symbols
  2021-04-09  8:42 ` Sergei Shtylyov
@ 2021-04-09  9:44   ` Thomas Bogendoerfer
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Bogendoerfer @ 2021-04-09  9:44 UTC (permalink / raw)
  To: Sergei Shtylyov; +Cc: linux-mips, linux-kernel, kernel test robot

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.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-09  9:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-08 21:48 [PATCH] MIPS: octeon: Add __raw_copy_[from|to|in]_user symbols Thomas Bogendoerfer
2021-04-09  8:42 ` Sergei Shtylyov
2021-04-09  9:44   ` Thomas Bogendoerfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).