hexagon: use generic strncpy/strnlen from_user
[linux-2.6-microblaze.git] / arch / hexagon / Kconfig
index 44a4099..3bf4845 100644 (file)
@@ -19,6 +19,8 @@ config HEXAGON
        # GENERIC_ALLOCATOR is used by dma_alloc_coherent()
        select GENERIC_ALLOCATOR
        select GENERIC_IRQ_SHOW
+       select GENERIC_STRNCPY_FROM_USER
+       select GENERIC_STRNLEN_USER
        select HAVE_ARCH_KGDB
        select HAVE_ARCH_TRACEHOOK
        select NEED_SG_DMA_LENGTH
@@ -30,6 +32,7 @@ config HEXAGON
        select MODULES_USE_ELF_RELA
        select GENERIC_CPU_DEVICES
        select SET_FS
+       select ARCH_WANT_LD_ORPHAN_WARN
        help
          Qualcomm Hexagon is a processor architecture designed for high
          performance and low power across a wide variety of applications.