diff options
| author | 2016-12-16 14:53:45 -0500 | |
|---|---|---|
| committer | 2017-02-13 16:09:41 -0500 | |
| commit | 12ea65390bd5a46f8a70f068eb0d48922576a781 (patch) | |
| tree | 014cc8039fa7318fa2eb6fa8392d26c8897fb14f /tools/include/linux/compiler.h | |
| parent | radix tree test suite: Remove mempool (diff) | |
| download | linux-rng-12ea65390bd5a46f8a70f068eb0d48922576a781.tar.xz linux-rng-12ea65390bd5a46f8a70f068eb0d48922576a781.zip | |
radix tree test suite: Remove types.h
Move the pieces we still need to tools/include and update a few implicit
includes.
Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Diffstat (limited to 'tools/include/linux/compiler.h')
| -rw-r--r-- | tools/include/linux/compiler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/include/linux/compiler.h b/tools/include/linux/compiler.h index e33fc1df3935..9d294161c494 100644 --- a/tools/include/linux/compiler.h +++ b/tools/include/linux/compiler.h @@ -21,6 +21,8 @@ #endif #define __user +#define __rcu +#define __read_mostly #ifndef __attribute_const__ # define __attribute_const__ @@ -50,6 +52,8 @@ # define unlikely(x) __builtin_expect(!!(x), 0) #endif +#define uninitialized_var(x) x = *(&(x)) + #define ACCESS_ONCE(x) (*(volatile typeof(x) *)&(x)) #include <linux/types.h> |
