MIPS: octeon: Add __raw_copy_[from|to|in]_user symbols
Thomas Bogendoerfer
maintainerPATCH 1/1 MIPS: octeon: Add __raw_copy_[from|to|in]_user symbols
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 <[email protected]>
Signed-off-by Thomas Bogendoerfer <[email protected]>
--- arch/mips/cavium-octeon/octeon-memcpy.S | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
arch/mips/cavium-octeon/octeon-memcpy.S +6 -2
@@ -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
Signature · 1 line
2.29.2
Hello!
Quoted 1 line · Thomas Bogendoerfer
Cavium Octeon has it's own memcpy implementation and also need the change
Its. :-)
Quoted 5 lines
done in commit
04324f44cb69("MIPS: Remove get_fs/set_fs").Fixes 04324f44cb69 ("MIPS: Remove get_fs/set_fs")Reported-by kernel test robot <[email protected]>Signed-off-by Thomas Bogendoerfer <[email protected]>
[...]
MBR, Sergei
Thomas Bogendoerfer
maintainerQuoted 7 lines · Sergei Shtylyov
Hello!
Quoted 1 line · Thomas Bogendoerfer
Cavium Octeon has it's own memcpy implementation and also need the change
Its. :-)
applied (with typo fixed) to mips-next.
Thomas.
Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]