1#ifndef __LINUX_COMPILER_H
2#define __LINUX_COMPILER_H
7# define __user __attribute__((noderef, address_space(1)))
9# define __safe __attribute__((safe))
10# define __force __attribute__((force))
11# define __nocast __attribute__((nocast))
12# define __iomem __attribute__((noderef, address_space(2)))
13# define __acquires(x) __attribute__((context(0,1)))
14# define __releases(x) __attribute__((context(1,0)))
15# define __acquire(x) __context__(1)
16# define __release(x) __context__(-1)
17# define __cond_lock(x) ((x) ? ({ __context__(1); 1; }) : 0)
27# define __chk_user_ptr(x) (void)0
28# define __chk_io_ptr(x) (void)0
32# define __acquire(x) (void)0
33# define __release(x) (void)0
34# define __cond_lock(x) (x)
40#error no compiler-gcc.h file for this gcc version
42# include <linux/compiler-gcc4.h>
44# include <linux/compiler-gcc3.h>
46# include <linux/compiler-gcc2.h>
48# error Sorry, your compiler is too old/not recognized.
54#ifdef __INTEL_COMPILER
55# include <linux/compiler-intel.h>
64#define likely(x) __builtin_expect(!!(x), 1)
65#define unlikely(x) __builtin_expect(!!(x), 0)
69# define barrier() __memory_barrier()
73# define RELOC_HIDE(ptr, off) \
74 ({ unsigned long __ptr; \
75 __ptr = (unsigned long) (ptr); \
76 (typeof(ptr)) (__ptr + (off)); })
94#define __deprecated_for_modules __deprecated
96#define __deprecated_for_modules
114#ifndef __attribute_used__
115# define __attribute_used__
128#ifndef __attribute_pure__
129# define __attribute_pure__
146#ifndef __attribute_const__
147# define __attribute_const__
154#ifndef __always_inline
155#define __always_inline inline
#define __chk_user_ptr(x)