|
@@ -21,6 +21,8 @@
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#define __user
|
|
#define __user
|
|
|
|
+#define __rcu
|
|
|
|
+#define __read_mostly
|
|
|
|
|
|
#ifndef __attribute_const__
|
|
#ifndef __attribute_const__
|
|
# define __attribute_const__
|
|
# define __attribute_const__
|
|
@@ -50,6 +52,8 @@
|
|
# define unlikely(x) __builtin_expect(!!(x), 0)
|
|
# define unlikely(x) __builtin_expect(!!(x), 0)
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+#define uninitialized_var(x) x = *(&(x))
|
|
|
|
+
|
|
#define ACCESS_ONCE(x) (*(volatile typeof(x) *)&(x))
|
|
#define ACCESS_ONCE(x) (*(volatile typeof(x) *)&(x))
|
|
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/types.h>
|