summaryrefslogtreecommitdiff
path: root/lib
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 /lib
parent8214791daa290119243134fcfbebe631fd0ed249 (diff)
downloadu-boot-67f51b40cacc70da44779cef0edb845fa0f0505d.tar.gz
u-boot-67f51b40cacc70da44779cef0edb845fa0f0505d.tar.bz2
u-boot-67f51b40cacc70da44779cef0edb845fa0f0505d.zip
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 'lib')
-rw-r--r--lib/vsprintf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/vsprintf.c b/lib/vsprintf.c
index de9ef902b9..9dc96c81c6 100644
--- a/lib/vsprintf.c
+++ b/lib/vsprintf.c
@@ -26,8 +26,6 @@
#include <linux/types.h>
#include <linux/string.h>
-#define noinline __attribute__((noinline))
-
/* we use this so that we can do without the ctype library */
#define is_digit(c) ((c) >= '0' && (c) <= '9')