diff options
author | Ley Foon Tan <ley.foon.tan@intel.com> | 2017-05-08 17:14:14 +0800 |
---|---|---|
committer | Ley Foon Tan <ley.foon.tan@intel.com> | 2017-05-08 17:14:14 +0800 |
commit | 7f1e614113ffe75f5ea7c99f641bf1b56f85be03 (patch) | |
tree | 18c95adccb9ce60cddd4f1407639678bcc74dbfd /arch/nios2/Kconfig | |
parent | edebea98777d7090ea14bdce2e38e6798557729d (diff) | |
download | linux-stable-7f1e614113ffe75f5ea7c99f641bf1b56f85be03.tar.gz linux-stable-7f1e614113ffe75f5ea7c99f641bf1b56f85be03.tar.bz2 linux-stable-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/Kconfig | 2 |
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 |