summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/lib/fastcopy.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/lib/fastcopy.S')
-rw-r--r--arch/microblaze/lib/fastcopy.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/microblaze/lib/fastcopy.S b/arch/microblaze/lib/fastcopy.S
index fdc48bb..62021d7 100644
--- a/arch/microblaze/lib/fastcopy.S
+++ b/arch/microblaze/lib/fastcopy.S
@@ -29,6 +29,10 @@
* between mem locations with size of xfer spec'd in bytes
*/
+#ifdef __MICROBLAZEEL__
+#error Microblaze LE not support ASM optimized lib func. Disable OPT_LIB_ASM.
+#endif
+
#include <linux/linkage.h>
.text
.globl memcpy
OpenPOWER on IntegriCloud