diff options
| author | Tom Rini <[email protected]> | 2021-09-24 10:13:44 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-09-24 10:13:44 -0400 |
| commit | 7d1fcaea128ff689aea75deaf7f75d75d1b553d3 (patch) | |
| tree | 8e378b623cd2b5f2d9883b93aa7afa9feb5ff42e /arch/arm/include | |
| parent | 2c14ff587998e2b0a94bc2b693bcd43094a40b8c (diff) | |
| parent | 4e062fc955b684d004b252b33b006a6a16899f5c (diff) | |
Merge branch '2021-09-24-arm64-optimized-str-funcs' into next
- Bring in, but disable by default, asm optimized string functions for
arm64.
Diffstat (limited to 'arch/arm/include')
| -rw-r--r-- | arch/arm/include/asm/string.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/string.h b/arch/arm/include/asm/string.h index 11eaa34fab8..ead3f2c3564 100644 --- a/arch/arm/include/asm/string.h +++ b/arch/arm/include/asm/string.h @@ -19,7 +19,11 @@ extern char * strchr(const char * s, int c); #endif extern void * memcpy(void *, const void *, __kernel_size_t); +#if CONFIG_IS_ENABLED(USE_ARCH_MEMMOVE) +#define __HAVE_ARCH_MEMMOVE +#else #undef __HAVE_ARCH_MEMMOVE +#endif extern void * memmove(void *, const void *, __kernel_size_t); #undef __HAVE_ARCH_MEMCHR |
