MIPS: octeon: Add __raw_copy_[from|to|in]_user symbols
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 8 Apr 2021 21:48:46 +0000 (23:48 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 9 Apr 2021 09:43:52 +0000 (11:43 +0200)
Cavium Octeon has its 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

index 0a7c983..600d018 100644 (file)
@@ -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