aboutsummaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-05-14 08:30:06 -0400
committerTom Rini <trini@konsulko.com>2020-07-01 11:48:05 -0400
commit67f51b40cacc70da44779cef0edb845fa0f0505d (patch)
tree28f43e012519e58b71c1892b2518285a1993174e /Kconfig
parent8214791daa290119243134fcfbebe631fd0ed249 (diff)
compiler*.h: sync include/linux/compiler*.h with Linux 5.7-rc5
Copy these from Linux v5.7-rc5 tag. This brings in some handy new attributes and is otherwise important to keep in sync. We drop the reference to smp_read_barrier_depends() as it is not relevant on the architectures we support at this time, based on where it's implemented in Linux today. We drop the call to kasan_check_read() as that is not relevant to U-Boot as well. Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index 97707e65a2..83a3a7e142 100644
--- a/Kconfig
+++ b/Kconfig
@@ -71,6 +71,9 @@ config CC_COVERAGE
Enabling this option will pass "--coverage" to gcc to compile
and link code instrumented for coverage analysis.
+config CC_HAS_ASM_INLINE
+ def_bool $(success,echo 'void foo(void) { asm inline (""); }' | $(CC) -x c - -c -o /dev/null)
+
config DISTRO_DEFAULTS
bool "Select defaults suitable for booting general purpose Linux distributions"
select AUTO_COMPLETE