* [PATCH] microblaze: Setup proper dependency for optimized lib functions
@ 2018-01-22 10:23 Michal Simek
0 siblings, 0 replies; only message in thread
From: Michal Simek @ 2018-01-22 10:23 UTC (permalink / raw)
To: linux-kernel, monstr
Optimized library functions are implemented only for little endian.
Setup this dependency via Kconfig.
commit 206d3642d8ee ("arch/microblaze: add choice for endianness and
update Makefile") added an option to setup endianess via Kconfig.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
arch/microblaze/Kconfig.platform | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/microblaze/Kconfig.platform b/arch/microblaze/Kconfig.platform
index 1b3d8c849101..6996f397c16c 100644
--- a/arch/microblaze/Kconfig.platform
+++ b/arch/microblaze/Kconfig.platform
@@ -8,6 +8,7 @@ menu "Platform options"
config OPT_LIB_FUNCTION
bool "Optimalized lib function"
+ depends on CPU_LITTLE_ENDIAN
default y
help
Allows turn on optimalized library function (memcpy and memmove).
--
1.9.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-01-22 10:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-22 10:23 [PATCH] microblaze: Setup proper dependency for optimized lib functions Michal Simek
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).