mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
This code is mostly from Andrew Morton and Nick Piggin; tarball downloaded from http://ozlabs.org/~akpm/rtth.tar.gz with sha1sum 0ce679db9ec047296b5d1ff7a1dfaa03a7bef1bd Some small modifications were necessary to the test harness to fix the build with the current Linux source code. I also made minor modifications to automatically test the radix-tree.c and radix-tree.h files that are in the current source tree, as opposed to a copied and slightly modified version. I am sure more could be done to tidy up the harness, as well as adding more tests. [[email protected]: fix compilation] Signed-off-by: Matthew Wilcox <[email protected]> Cc: Shuah Khan <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: "Kirill A. Shutemov" <[email protected]> Cc: Ross Zwisler <[email protected]> Cc: Hugh Dickins <[email protected]> Signed-off-by: Konstantin Khlebnikov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
10 lines
180 B
C
10 lines
180 B
C
#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
|