]> git.sur5r.net Git - u-boot/blob - include/linux/compiler-gcc3.h
EXYNOS5: FDT: Add compatible strings for USB
[u-boot] / include / linux / compiler-gcc3.h
1 #ifndef __LINUX_COMPILER_H
2 #error "Please don't include <linux/compiler-gcc3.h> directly, include <linux/compiler.h> instead."
3 #endif
4
5 #if __GNUC_MINOR__ >= 3
6 # define __used                 __attribute__((__used__))
7 #else
8 # define __used                 __attribute__((__unused__))
9 #endif
10
11 #if __GNUC_MINOR__ >= 4
12 #define __must_check            __attribute__((warn_unused_result))
13 #endif
14
15 /*
16  * A trick to suppress uninitialized variable warning without generating any
17  * code
18  */
19 #define uninitialized_var(x) x = x
20
21 #define __always_inline         inline __attribute__((always_inline))