diff options
Diffstat (limited to 'include/linux/rcupdate.h')
-rw-r--r-- | include/linux/rcupdate.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index fdc422f3d61d..3c5ef02ea580 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h | |||
@@ -949,6 +949,9 @@ static inline notrace void rcu_read_unlock_sched_notrace(void) | |||
949 | * pointers, but you must use rcu_assign_pointer() to initialize the | 949 | * pointers, but you must use rcu_assign_pointer() to initialize the |
950 | * external-to-structure pointer -after- you have completely initialized | 950 | * external-to-structure pointer -after- you have completely initialized |
951 | * the reader-accessible portions of the linked structure. | 951 | * the reader-accessible portions of the linked structure. |
952 | * | ||
953 | * Note that unlike rcu_assign_pointer(), RCU_INIT_POINTER() provides no | ||
954 | * ordering guarantees for either the CPU or the compiler. | ||
952 | */ | 955 | */ |
953 | #define RCU_INIT_POINTER(p, v) \ | 956 | #define RCU_INIT_POINTER(p, v) \ |
954 | do { \ | 957 | do { \ |