aboutsummaryrefslogtreecommitdiffstats
path: root/arch/nios2/Kconfig
diff options
context:
space:
mode:
authorLey Foon Tan <ley.foon.tan@intel.com>2017-05-08 17:14:14 +0800
committerLey Foon Tan <ley.foon.tan@intel.com>2017-05-08 17:14:14 +0800
commit7f1e614113ffe75f5ea7c99f641bf1b56f85be03 (patch)
tree18c95adccb9ce60cddd4f1407639678bcc74dbfd /arch/nios2/Kconfig
parentnios2: Add CDX support (diff)
downloadlinux-dev-7f1e614113ffe75f5ea7c99f641bf1b56f85be03.tar.xz
linux-dev-7f1e614113ffe75f5ea7c99f641bf1b56f85be03.zip
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>
Diffstat (limited to 'arch/nios2/Kconfig')
-rw-r--r--arch/nios2/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig
index 51a56c8b04b4..a72d5f0de692 100644
--- a/arch/nios2/Kconfig
+++ b/arch/nios2/Kconfig
@@ -6,6 +6,8 @@ config NIOS2
select GENERIC_CPU_DEVICES
select GENERIC_IRQ_PROBE
select GENERIC_IRQ_SHOW
+ select GENERIC_STRNCPY_FROM_USER
+ select GENERIC_STRNLEN_USER
select HAVE_ARCH_TRACEHOOK
select HAVE_ARCH_KGDB
select IRQ_DOMAIN