FROMLIST: arm64: select ARCH_SUPPORTS_LTO_CLANG
authorSami Tolvanen <samitolvanen@google.com>
Thu, 2 Nov 2017 16:34:42 +0000 (09:34 -0700)
committerSami Tolvanen <samitolvanen@google.com>
Thu, 26 Apr 2018 23:03:36 +0000 (16:03 -0700)
Allow CONFIG_LTO_CLANG to be enabled for the architecture.

Bug: 62093296
Bug: 67506682
Change-Id: Id8e06b49877c4de2f15b51fc432d601b83b2c68f
(am from https://patchwork.kernel.org/patch/10060333/)
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
arch/arm64/Kconfig

index 3d8edf2bfb8ca0715d3d70cae7e5768a20739590..785b5eccd4a3bdb43e402437385f992034153fd7 100644 (file)
@@ -24,6 +24,7 @@ config ARM64
        select ARCH_HAVE_NMI_SAFE_CMPXCHG if ACPI_APEI_SEA
        select ARCH_USE_CMPXCHG_LOCKREF
        select ARCH_SUPPORTS_MEMORY_FAILURE
+       select ARCH_SUPPORTS_LTO_CLANG
        select ARCH_SUPPORTS_ATOMIC_RMW
        select ARCH_SUPPORTS_NUMA_BALANCING
        select ARCH_WANT_COMPAT_IPC_PARSE_VERSION