nios2: use generic strncpy_from_user() and strnlen_user()
authorLey Foon Tan <ley.foon.tan@intel.com>
Mon, 8 May 2017 09:14:14 +0000 (17:14 +0800)
committerLey Foon Tan <ley.foon.tan@intel.com>
Mon, 8 May 2017 09:14:14 +0000 (17:14 +0800)
commit7f1e614113ffe75f5ea7c99f641bf1b56f85be03
tree18c95adccb9ce60cddd4f1407639678bcc74dbfd
parentedebea98777d7090ea14bdce2e38e6798557729d
nios2: use generic strncpy_from_user() and strnlen_user()

This change enables the generic strncpy_from_user() and strnlen_user()

Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
arch/nios2/Kconfig
arch/nios2/include/asm/uaccess.h
arch/nios2/mm/uaccess.c