xtensa: only build __strncpy_user with CONFIG_ARCH_HAS_STRNCPY_FROM_USER
__strncpy_user is only used when CONFIG_ARCH_HAS_STRNCPY_FROM_USER is
enabled so don't build the source when it's off.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Showing
Please register or sign in to comment