sparc: Fix user_addr_max() definition.
[firefly-linux-kernel-4.4.55.git] / arch / sparc / Kconfig
index 6c0683d3fcba837e26907ea03e07ecf4e32a3a3d..22474233205b794c417f174db4c994406ef014d1 100644 (file)
@@ -30,6 +30,9 @@ config SPARC
        select USE_GENERIC_SMP_HELPERS if SMP
        select GENERIC_PCI_IOMAP
        select HAVE_NMI_WATCHDOG if SPARC64
+       select HAVE_BPF_JIT
+       select GENERIC_SMP_IDLE_THREAD
+       select GENERIC_STRNCPY_FROM_USER
 
 config SPARC32
        def_bool !64BIT
@@ -61,6 +64,7 @@ config SPARC64
        select IRQ_PREFLOW_FASTEOI
        select ARCH_HAVE_NMI_SAFE_CMPXCHG
        select HAVE_C_RECORDMCOUNT
+       select NO_BOOTMEM
 
 config ARCH_DEFCONFIG
        string
@@ -73,17 +77,12 @@ config BITS
        default 32 if SPARC32
        default 64 if SPARC64
 
-config ARCH_USES_GETTIMEOFFSET
-       bool
-       default y if SPARC32
-
 config GENERIC_CMOS_UPDATE
        bool
        default y
 
 config GENERIC_CLOCKEVENTS
-       bool
-       default y if SPARC64
+       def_bool y
 
 config IOMMU_HELPER
        bool
@@ -154,7 +153,7 @@ source "kernel/Kconfig.freezer"
 menu "Processor type and features"
 
 config SMP
-       bool "Symmetric multi-processing support (does not work on sun4/sun4c)"
+       bool "Symmetric multi-processing support"
        ---help---
          This enables support for systems with more than one CPU. If you have
          a system with only one CPU, say N. If you have a system with more
@@ -584,6 +583,9 @@ config SYSVIPC_COMPAT
        depends on COMPAT && SYSVIPC
        default y
 
+config KEYS_COMPAT
+       def_bool y if COMPAT && KEYS
+
 endmenu
 
 source "net/Kconfig"