diff options
| author | James Bottomley <[email protected]> | 2016-04-05 06:56:47 -0400 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2016-04-05 06:56:47 -0400 |
| commit | 6ea7e3873e52902af9ee8c0837450fdb69d54140 (patch) | |
| tree | b291dad174446387a166763cfbf3dd351148ecbe /tools/testing/radix-tree/linux/rcupdate.h | |
| parent | 5ddfe0858ea7848c5d4efe3f4319e7543522e0ee (diff) | |
| parent | f55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff) | |
Merge branch 'fixes-base' into fixes
Diffstat (limited to 'tools/testing/radix-tree/linux/rcupdate.h')
| -rw-r--r-- | tools/testing/radix-tree/linux/rcupdate.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/testing/radix-tree/linux/rcupdate.h b/tools/testing/radix-tree/linux/rcupdate.h new file mode 100644 index 000000000000..f7129ea2a899 --- /dev/null +++ b/tools/testing/radix-tree/linux/rcupdate.h @@ -0,0 +1,9 @@ +#ifndef _RCUPDATE_H +#define _RCUPDATE_H + +#include <urcu.h> + +#define rcu_dereference_raw(p) rcu_dereference(p) +#define rcu_dereference_protected(p, cond) rcu_dereference(p) + +#endif |