diff options
| author | Dan Williams <dan.j.williams@intel.com> | 2015-11-19 21:19:29 -0500 |
|---|---|---|
| committer | Dan Williams <dan.j.williams@intel.com> | 2016-01-09 09:30:49 -0500 |
| commit | 21266be9ed542f13436bd9c75316d43e1e84f6ae (patch) | |
| tree | cc956d5321e1a9fde60b0e596b5e1d981cbe2409 /arch/tile | |
| parent | 9f9499ae8e6415cefc4fe0a96ad0e27864353c89 (diff) | |
arch: consolidate CONFIG_STRICT_DEVM in lib/Kconfig.debug
Let all the archs that implement devmem_is_allowed() opt-in to a common
definition of CONFIG_STRICT_DEVM in lib/Kconfig.debug.
Cc: Kees Cook <keescook@chromium.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "David S. Miller" <davem@davemloft.net>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
[heiko: drop 'default y' for s390]
Acked-by: Ingo Molnar <mingo@redhat.com>
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'arch/tile')
| -rw-r--r-- | arch/tile/Kconfig | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/tile/Kconfig b/arch/tile/Kconfig index 106c21bd7f44..cf3116887509 100644 --- a/arch/tile/Kconfig +++ b/arch/tile/Kconfig | |||
| @@ -19,6 +19,7 @@ config TILE | |||
| 19 | select VIRT_TO_BUS | 19 | select VIRT_TO_BUS |
| 20 | select SYS_HYPERVISOR | 20 | select SYS_HYPERVISOR |
| 21 | select ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS | 21 | select ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS |
| 22 | select ARCH_HAS_DEVMEM_IS_ALLOWED | ||
| 22 | select ARCH_HAVE_NMI_SAFE_CMPXCHG | 23 | select ARCH_HAVE_NMI_SAFE_CMPXCHG |
| 23 | select GENERIC_CLOCKEVENTS | 24 | select GENERIC_CLOCKEVENTS |
| 24 | select MODULES_USE_ELF_RELA | 25 | select MODULES_USE_ELF_RELA |
| @@ -116,9 +117,6 @@ config ARCH_DISCONTIGMEM_DEFAULT | |||
| 116 | config TRACE_IRQFLAGS_SUPPORT | 117 | config TRACE_IRQFLAGS_SUPPORT |
| 117 | def_bool y | 118 | def_bool y |
| 118 | 119 | ||
| 119 | config STRICT_DEVMEM | ||
| 120 | def_bool y | ||
| 121 | |||
| 122 | # SMP is required for Tilera Linux. | 120 | # SMP is required for Tilera Linux. |
| 123 | config SMP | 121 | config SMP |
| 124 | def_bool y | 122 | def_bool y |
