Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

microblaze: Fix ASM optimized code for LE

Microblaze little-endian doesn't support ASM optimized library
functions(memcpy/memmove). Kconfig doens't contain
any information about endian that's why it is necessary to
check it in the source code.
The code is used with barrel shifter is used.

Signed-off-by: Michal Simek <monstr@monstr.eu>

+4
+4
arch/microblaze/lib/fastcopy.S
··· 29 29 * between mem locations with size of xfer spec'd in bytes 30 30 */ 31 31 32 + #ifdef __MICROBLAZEEL__ 33 + #error Microblaze LE not support ASM optimized lib func. Disable OPT_LIB_ASM. 34 + #endif 35 + 32 36 #include <linux/linkage.h> 33 37 .text 34 38 .globl memcpy