1 /* Never include this file directly. Include <linux/compiler.h> instead. */
3 /* These definitions are for GCC v3.x. */
4 #include <linux/compiler-gcc.h>
6 #if __GNUC_MINOR__ >= 1
7 # define inline inline __attribute__((always_inline))
8 # define __inline__ __inline__ __attribute__((always_inline))
9 # define __inline __inline __attribute__((always_inline))
12 #if __GNUC_MINOR__ > 0
13 # define __deprecated __attribute__((deprecated))
16 #if __GNUC_MINOR__ >= 3
17 # define __attribute_used__ __attribute__((__used__))
19 # define __attribute_used__ __attribute__((__unused__))
22 #define __attribute_pure__ __attribute__((pure))
23 #define __attribute_const__ __attribute__((__const__))
25 #if __GNUC_MINOR__ >= 1
26 #define noinline __attribute__((noinline))
29 #if __GNUC_MINOR__ >= 4
30 #define __must_check __attribute__((warn_unused_result))