sparc: Fix user_addr_max() definition.
[firefly-linux-kernel-4.4.55.git] / arch / sparc / Kconfig
index 5f6acce45a0d8e41d7bf33075207b707715cfbff..22474233205b794c417f174db4c994406ef014d1 100644 (file)
@@ -31,6 +31,8 @@ config SPARC
        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
@@ -62,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
@@ -74,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
@@ -155,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
@@ -585,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"