diff options
author | Tom Rini <trini@konsulko.com> | 2016-02-29 11:34:15 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-02-29 11:43:24 -0500 |
commit | 9b2c282b348dfe966bbba967dc7a45ce817cce50 (patch) | |
tree | 23bb42def3419f8d1e351dadda815edb2c42e05d /include/linux/compiler-gcc3.h | |
parent | 9902c113ade2c9af701785b982a1a4db4a2395ec (diff) | |
download | blackbird-obmc-uboot-9b2c282b348dfe966bbba967dc7a45ce817cce50.tar.gz blackbird-obmc-uboot-9b2c282b348dfe966bbba967dc7a45ce817cce50.zip |
compiler*.h: sync include/linux/compiler*.h with Linux 4.5-rc6
Copy these from Linux v4.5-rc6 tag.
This is needed so that we can keep up with newer gcc versions. Note
that we don't have the uapi/ hierarchy from the kernel so continue to
use <linux/types.h>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/linux/compiler-gcc3.h')
-rw-r--r-- | include/linux/compiler-gcc3.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/include/linux/compiler-gcc3.h b/include/linux/compiler-gcc3.h deleted file mode 100644 index 7d89febe4d..0000000000 --- a/include/linux/compiler-gcc3.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef __LINUX_COMPILER_H -#error "Please don't include <linux/compiler-gcc3.h> directly, include <linux/compiler.h> instead." -#endif - -#if GCC_VERSION < 30200 -# error Sorry, your compiler is too old - please upgrade it. -#endif - -#if GCC_VERSION >= 30300 -# define __used __attribute__((__used__)) -#else -# define __used __attribute__((__unused__)) -#endif - -#if GCC_VERSION >= 30400 -#define __must_check __attribute__((warn_unused_result)) -#endif - -#ifdef CONFIG_GCOV_KERNEL -# if GCC_VERSION < 30400 -# error "GCOV profiling support for gcc versions below 3.4 not included" -# endif /* __GNUC_MINOR__ */ -#endif /* CONFIG_GCOV_KERNEL */ |